Skip to content

Latest commit

 

History

History
54 lines (49 loc) · 3.53 KB

README.md

File metadata and controls

54 lines (49 loc) · 3.53 KB

MasterSeleniumFramework_BDD

With further updates - This project is designed and developed with the help of -

  1. Udemy course (OmPrakash Chavan - Cucumber BDD Masterclass with Selenium WebDriver & Java) - Learnings From Course.pdf image image image

image image

Screenshot by Snip My at 04-Feb-2022 at 2_41_05 AM


Framework features:

  1. Uses Domain objects
  2. Support multiple Runners - TestNG, JUnit, CLI
  3. Uses Dependency Injection Framework
  4. Supports parallel execution
  5. Uses API to setup the Application state
  6. Captures screenshot on Scenario Failure
  7. Supports command line execution using Maven
  8. Supports CI/CD integration

It has a concept of Atomic tests (Achieved by Selenium WebDriver API and RestAssured API)

Atomic Tests:

image

Updations done:

**Reports (me.jvt.cucumber -> reporting-plugin) ** image

Screenshot on failure to Reports image

Zip reports

Browser instances from pom.xml image

Execution

  1. mvn clean test (This will execute with default env (Stg) and browser (Edge))
  2. mvn clean test -Denv=INT -Dbrowser=firefox (his will execute with on Int and Firefox browser)
  3. mvn clean test -Denv=INT -Dbrowser=firefox -Dcucumber.filter.tags@smoke (This will execute with on Int and Firefox browser and scenarios tagged as smoke)

Cucumber_Reports_Cloud.pdf image