This is a Test Automation project that compares names and description of all repositories in django project from UI with respect to API.
The project is configured with following tools: Java, Maven, Selenium, Rest Assured io, Testng, Log4j and Extent Reports.
The jar requires following base versions: Maven - 3.6.3, Java - 1.8.0_261
Please install java and maven if not installed. Also add the system environment variables JAVA_HOME and MAVEN_HOME and set it with your installed bin folder location.
- Open Git bash terminal
- Navigate to your home directory
git clone https://github.com/amitkiit1994/RideCell_Project.git- Open Eclipse or IntellJ or any IDE
- Use Import Project Wizard to import Git Project from your home directory
- Run the pom.xml as Maven clean
- Once clean build is successful, run the pom.xml as Maven install to start the execution
- Open the CLI
cd <Project location>
mvn clean installOn Successful execution of the project, User shall receive a mail of the report and all the details of execution. Note: The config.properties file must be configured correctly with proper email id and password
This a typical Maven free style project having following :
Automation report of last execution
This is to maintain all the dependencies
Configuring test classes
Actual Data from Runtime in excel file
This class has the following methods:
Intilializes the properties file from the resources package
Initializes the selenium driver and returns the driver
This package has the pages as a page object model pattern to store various element locators for locating UI elements
This package has the following utilities:
chromedriver to set system property to automate with chrome browser
All the config parameters that can be modified at runtime, ex: API endpoint, web url, file name to store data, mail recipient to receive the automation results
Logging configuration details
Log file for every execution
The business logic to automate the UI
This package has Test utility class having following methods:
To send report of the automation to the mail recipient
To write the API results and UI Results data to excel
This package has the test files that is recognized by testng runner while running pom.xml file