Skip to content

A UI automation project which is created with the selenium java framework. I have automated a few UI test test cases with the latest automation technology. Details will be found in README file

Notifications You must be signed in to change notification settings

SharifKhan515/AutomationAssessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation Assessment

This is an automation framework build from scratch using selenium-java.

Language used: Java

Technology Used

  1. Maven
  2. Selenium Webdriver
  3. Webdriver Manager
  4. JXL API
  5. Log4j2
  6. ExtentReport

Steps to run the test

  1. Go to the root folder of the project.
  2. Run the maven command given below to execute the test in chrome
mvn clean verify -DsuiteFile=src/test/resources/testsuites/testng.xml -Dbrowser=chrome
  1. Run the maven command given below to execute the test in firefox
mvn clean verify -DsuiteFile=src/test/resources/testsuites/testng.xml -Dbrowser=firefox
  1. If -Dbrowser is not provided then test will run on chrome.
  2. To run the test from any directory run the command given below
mvn clean verify -DsuiteFile=absolutePathOfTestng.file -Dbrowser=driverOfChoose

After test run completed

  1. Test log will be found under reports\log directory
  2. Test report will be found under reports directory
  3. Test failures screenshot will be found under reports\screenshot directory

Properties user can set:

From application.properties file

  • base.url
  • defaultBrowser.name
  • element.timeout
  • pageLoad.timeout
  • script.timeout

About

A UI automation project which is created with the selenium java framework. I have automated a few UI test test cases with the latest automation technology. Details will be found in README file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages