Skip to content

rohitware13/selenium-cucumber-pom-basic-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

selenium-cucumber-pom-basic-framework

Technologies

  • Selenium
  • Java
  • Cucumber
  • Maven
  • Extent Report

Writing a test

The cucumber features goes in the src/test/resources/FeatureFiles library and should have the ".feature" extension. You can start out by looking at FeatureFiles/Login.feature. You can extend this feature or make your own features.

Application Test Data

You can keep application specific test data under main/resources/application.conf

Executing of test

Provide tag to the scenario and mention the tag in runner file (src/test/java/runner/RunnerClass.java)

In IDE, you can create/ edit junit run configuration and make sure to pass below variable - browser

Configuration should look like -ea -Dbrowser=chrome

Reporting

You can find execution report under test-output directory

  • Extent HTML Report with screenshot of failed scenarios
  • Logger Report
  • Screenshots

You can customize the report details from extent-config.xml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published