This repository contains a Java Selenium project with TestNG automation for verifying Flipkart search functionality. The project includes the following:
- Selenium WebDriver
- TestNG framework
- Gradle build tool
- Java 11
- Python 3 for platform assessment (not mandatory).
- src/test/java/demo/wrappers/Wrappers.java - contains the page object classes and utility classes
- src/test/java/demo/TestCases.java - contains the test classes
- build.gradle - contains the project dependencies and build configurations
- Clone the repository to your local machine.
- Open the project in your preferred IDE.
- Install the required dependencies(java 11, python 3, git bash) and the executeable to PATH Environment Variable.
- Execute the command in
chmod +x ./gradlewin Bash terminal. - Build the project running command
./gradlew buildin Bash terminal or.\gradlew.bat buildin PowerShell terminal. - Run the test script by running
./gradlew testtest in Bash terminal or.\gradlew.bat testin PowerShell terminal.
- Test annotations @Test for test methods :
- testCase01() method
- testCase02() method
- testCase03() method
- @BeforeTest :
- startBrowser() method
- @AfterTest :
- endTest() method
The project dependencies are managed by Gradle and are defined in the build.gradle file. The following dependencies are included:
- Selenium
- TestNG framework
This project does not collect or store any personal information. The project uses Selenium WebDriver to automate web browsing and does not interact with any user data.
For any questions or concerns, Contact me via email