Skip to content

Automation Testing | Web | API | Atomic Tests | Cucumber | Java | OOPS | Selenium WebDriver | TestNG | Maven | Cucumber Reports | Java mail API | Design Patterns (Page Object Model, Singleton) | Jenkins

Notifications You must be signed in to change notification settings

rajatt95/MasterSeleniumFramework_BDD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Automation Testing | Web | API | Atomic Tests | Cucumber | Java | OOPS | Selenium WebDriver | TestNG | Maven | Cucumber Reports | Java mail API | Design Patterns (Page Object Model, Singleton) | Jenkins

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published