This is a Selenium Test Automation Framework built using Java 17. The framework is a hybrid framework that combines data-driven and modular testing approaches. It leverages advanced design patterns and libraries to ensure high scalability, flexibility, and maintainability.
The framework is integrated with cloud-based testing, parallel execution, and CI/CD pipelines.
isHeadless
- Run tests in headless mode.isLambdaTest
- Run tests on LambdaTest cloud.environment
- Specify environment (e.g., QA, staging, production).browserName
- Specify browser for execution.Hi, My Name is sumit sekhar barik and I have 2 years of experience in Manual and Automation Testing using technologies like Selenium Webdriver, RestAssured, postman, JMeter.
My major expertise is in Java Programming Language.
Before running this framework, ensure the following software is installed on your system:
Maven - Ensure Maven is installed and added to the system path.
Clone the Repository:
https://github.com/sumit5426/Selenium-Java-Test-Automation-Framework.git
cd Selenium-Java-Test-Automation-Framework
Running Tests on LambdaTest:
mvn test -Dbrowser=chrome -D -DisLambdaTest=true -DenvironmentName=QA -DisHeadless=false -X
cd Selenium-Java-Test-Automation-Framework
Running Tests on Chrome browser on Local Machine in Headless Mode:
mvn test -Dbrowser=chrome -D -DisLambdaTest=true -DenvironmentName=QA -DisHeadless=false -X
cd Selenium-Java-Test-Automation-Framework
-Reports: After execution, a detailed HTML report will be generated at ./report.html.
The report contains information on test cases executed, passed, failed, and skipped, along with screenshots for failed tests.
Logs are created during the test execution and stored in the ./logs/ directory.
This automation framework is integrated with github actions. The tests will be executed at 11:30PM IST every single day.
The reports will be archieved in gh-pages branch You can view the html reports at : https://sumit5426.github.io/Selenium-Java-Test-Automation-Framework/