Running Selenium Java TestNG u'sing Page Object Model / Data Driven - Extent Report Manager and Retry Method
- Java 17 as the programming language.
- Selenium WebDriver as the web browser automation framework using Java binding.
- TestNG as the testing framework.
- Page Object Model as the design pattern
- POM with Page Factory
- Assert as the assertion library.
- Extent Reports 5 as the test reporting strategy.
- Selenium Shutterbug for capturing screenshots.
- Maven as the Java build tool.
- Eclipse as the IDE.
The project uses a config.properties file to manage global configurations such as browser type and base url.
Leverage the Page Object Model (POM) pattern to encapsulate web page elements and actions, promoting reusability and reducing code duplication.
Manage test data efficiently, ensuring that tests are repeatable and maintainable.
A collection of utility functions and libraries are included to simplify common automation tasks and enhance the framework's capabilities.
Clone this repository, and follow the detailed documentation in the README to set up your environment and run the tests using Java, Selenium, TestNG, ExtentReport, Eclipse IDE, and the JXL (JExcel) Library for Data-Driven.
git clone https://github.com/Ranees33/Live-GPS-Tracking-App-TestNG-Maven-ExtentReportManager.git
The project uses TestNG as the test runner.
Before running the tests, we need to install all necessary dependencies. Maven, a software project management tool, can do this for us. Run the following command:
mvn test-compile
To verify if everything is installed correctly and functioning properly, we should run all available tests. This can be done with the following command:
mvn test
We welcome contributions from the open-source community! Feel free to submit pull requests, report issues, or share your ideas to help improve and expand this java automation framework.
Start automating your tests efficiently and enjoy the benefits of TestNG, Data-Driven Development with this Selenium Java Automation Framework. Happy testing! 🚀