This project is a comprehensive test automation suite for the LUMA application, utilizing Java with Selenium WebDriver, TestNG for test management, and Allure for reporting. The suite is designed to provide robust and efficient end-to-end testing capabilities, ensuring the quality and reliability of the LUMA application.
- Java: The core programming language used for writing test scripts.
- Selenium WebDriver: Used for browser automation, enabling interaction with the LUMA application's web elements.
- TestNG: Provides advanced test configuration, management, and execution capabilities.
- Allure: Integrated for generating detailed and visually appealing test reports.
- Maven: Used for project build and dependency management.
- Java Development Kit (JDK): Version 8 or higher.
- Maven: For managing project dependencies and build lifecycle.
- Selenium WebDriver: Compatible version for your browser.
- TestNG: Testing framework.
- Allure: For generating test reports.
- Clone the Repository
git clone https://github.com/kgold2018/LunaJavaSeleniumTestNGAllure.git cd LunaJavaSeleniumTestNGAllure
- Install Dependencies
mvn clean install
- Update the
config.properties
file with the necessary configuration details, such as browser type, base URL, etc. - Ensure the correct WebDriver is set up in the
drivers
folder (e.g.,chromedriver
for Chrome).
- To run tests, use the following Maven command:
mvn test
- Generate Allure Report
allure serve target/allure-results
LunaJavaSeleniumTestNGAllure/ ├── src/ │ └── main/ │ │ └── java/ │ │ │ └── com/ │ │ │ └── lumatest/ │ │ │ └── pages/ │ │ │ │ │ └── resources/ │ │ └── config.properties │ ├── test/ │ │ ├── java/ │ │ │ └── com/ │ │ │ └── lumatest/ │ │ │ └── base/ │ │ │ └── data/ │ │ │ └── test/ └── utils/
│ │ └── resources/ ├── drivers/ │ └── chromedriver │ └── geckodriver ├── target/ │ └── allure-results/ ├── .gitignore ├── pom.xml ├── README.md └── testing.xml
- src/main/java: Contains the Page Object Model code.
- src/test/java: Contains the test cases.
- pom.xml: Maven configuration file.
- Writing Tests: Create your test classes in the
src/test/java/com/yourpackage/
directory. - Running Tests: Use TestNG annotations to configure and run your tests.
- Viewing Reports: After running tests, generate and view reports using Allure commands.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or issues, contact [email protected]