Skip to content

Sample framework showing use of Selenium and Cucumber combination for web testing

License

Notifications You must be signed in to change notification settings

nvadiga/java-selenium-cucumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goal

Goal of this project is to show sample web testing framework, integrating all those wonderful languages and tools out there like Java, Cucumber, Junit, Apache POI, ExtenetReports etc.

How to use

You can kick start your framework development by cloning this repository.

git clone https://github.com/nvadiga/java-selenium-cucumber.git

You can use direct Gherkin statements like

Given User navigates to "https://www.google.co.in" (Just replace url in quotes with required url)

Or keep test definitions outside the framework in an Excel and use it like

And Runs the test as per sheet "Google Search" in excel "input.xlsx"

Test Results

Framework uses Cucumber ExtentReport for test results reporting. You can find html report under "results" folder which will be created after the test run.

What next?

  • Add more web actions like select etc.
  • Add validation methods.
  • Add fillForm method which makes filling bigger forms easy.
  • and much more!!

About

Sample framework showing use of Selenium and Cucumber combination for web testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published