Skip to content

HarishMarthi/AmazonTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

===== Project Name ====== AmazonAutomation

===== Project Description =====
Writing the Automation Script for Amazon Application ===== Tools Using =====

Programming Language : Java(can be use the JDK 8 and above) Automation Tool : Selenium WebDriver 3.141.59 Framework Used : Hybrid Framework(BDD Cucumer, POM with Page Factory, Junit, Cucumber JVM Reports) Reports : Custom HTML reports Build Tool : Maven

===== How to Run =====

===== 1st Method =====

Run through Junit file : In the project root node there is a "TestRunner.java" file. Right click on it and choose run as then click on "JUnit Test" Option.

===== 2nd Method =====

Run through POM file : In the project root node there is a "pom.xml" file. Right click on it and choose run configuration for maven build as "mvn clean verify".

===== Reports Path =====

After completion of the script execution reports will be saved in "AmazonAutomation/target/cucumber-jvm-report/cucumber-html-report" folder.

===== How Framework Will Work ========

  1. Once you run the project through TestRunner.java or pom.xml file then control will move to feature file to read the steps

  2. After that control will move to step definitions package to read the glue code.

  3. From step definitions the control moves to Page files to do the actual test execution.

  4. In the test base class, we are maintaining the driver details and launching the browser.

  5. Utils contains the utility method for the the project.

  6. Configuration file consists of all the config details for the drivers, driver keys and app url etc..

  7. Finally reports will be stored under "AmazonAutomation/target/cucumber-jvm-report/cucumber-html-report" folder.

  8. Here we are using the cucumber JVM reports

  9. After every test case or test scenario is completed browser will close and open again for next test case or test scenario

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published