Java Selenium Automation Example Framework
Overview: Welcome to the Java Selenium Automation Example Framework! This repository contains a small-scale automation framework developed using Java Selenium WebDriver, TestNG, and Cucumber. It serves as an illustrative example for testing the Shop Apotheke website.
Usage Instructions:
-
Execution: The automation framework can be executed directly after cloning the repository. Simply clone the repository to your local machine and follow the setup instructions.
-
Setup: Before running the automation framework, ensure you have a valid email address and password. Replace the values of the "validEmailAddress" and "validPassword" keys in the "config-qa.properties" file located in the project directory with your credentials.
-
Test Cases: The framework automates a total of four UI login test cases. These include one test case with valid credentials and three test cases with invalid credentials.
Setup Instructions:
-
Prerequisites:
- JDK installed
- Maven installed
- Git installed
- Chrome WebDriver downloaded (compatible with your Chrome browser version)
-
Clone Repository:
git clone https://github.com/Hesenjan-Ubul/Selenium-Java_Framework_Example.git
-
Configuration: Replace the values of "validEmailAddress" and "validPassword" keys in the "config-qa.properties" file with your valid credentials.
-
Execution: Navigate to the project directory and execute the following command:
mvn test
Contributing: Contributions to enhance the framework or add additional test cases are welcome. Feel free to fork the repository, make improvements, and submit pull requests.
Disclaimer: This framework is provided as-is without any warranties. Users are encouraged to review and customize the framework according to their specific testing needs.
Thank you for using the Java Selenium Automation Example Framework!