Skip to content

asjwbl/Selenium-Java_Framework_Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. 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.

  2. 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.

  3. 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:

  1. Prerequisites:

    • JDK installed
    • Maven installed
    • Git installed
    • Chrome WebDriver downloaded (compatible with your Chrome browser version)
  2. Clone Repository:

    git clone https://github.com/Hesenjan-Ubul/Selenium-Java_Framework_Example.git
    
  3. Configuration: Replace the values of "validEmailAddress" and "validPassword" keys in the "config-qa.properties" file with your valid credentials.

  4. 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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published