A Java-based Selenium test automation framework demonstrating UI testing best practices using the Page Object pattern.
This project accompanies the article: Automated GUI Testing: A Step-by-Step Guide
- Java 8
- Selenide - Concise UI testing framework
- TestNG - Test framework with parallel execution support
- Allure - Test reporting
- Maven - Build and dependency management
- Java 8 or higher
- Maven 3.x
- Chrome browser
-
Clone the repository:
git clone https://github.com/ukad-group/automationDemo.git cd automationDemo -
Run tests:
mvn clean test -
Generate Allure report:
mvn allure:serve
src/
├── main/
│ ├── java/
│ │ ├── pages/ # Page Object classes
│ │ └── utils/ # Driver management utilities
│ └── resources/
│ └── testng.xml # TestNG configuration
└── test/
└── java/
└── tests/ # Test classes
To run tests on a remote Selenium grid (Selenoid), update the URI in MyDriverManager.java with your Selenoid server address.
MIT License - see LICENSE for details.
UKAD provides engineering support for teams that need help with solution design, integration or long term development. If you want to extend this project or need expertise in .NET, React, Azure, AI, Umbraco or Optimizely, you can contact us at hi@ukad-group.com.