Skip to content

Web test solution using Selenium with BDD. Extent html,pdf and Json report included. Test scripts written for http://automationpractice.com/

Notifications You must be signed in to change notification settings

ayosuva/SeleniumBDD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeleniumBDD

Import the project in eclipse as Maven project

To run using IDE, Right-click on Runner class and select Run as JUnit

To run using command line , use command mvn clean verify

To run cucumber tests with tags , use command mvn clean verify -D"cucumber.filter.tags=@order"

Html report can be found under target/index.html

Further Improvements:

Parallel execution for distributed execution

Multiple browsers handling for cross-browser testing

Extent report for better reporting

JIRA API integration to update the results in JIRA after the test execution

Sample Cucumber Report

Sample Extent Report

Jenkins Setup:

Source Code Management: Git : https://github.com/ayosuva/SeleniumBDD

Branches to build: */main

Build Triggers: Poll SCM : * * * * *

Build : Execute Windows batch command : mvn -Dtest=Runner test

E-mail Notification : Manage Jenkins -> Configure System smtp.gmail.com Use SMTP Authentication Use SSL Port:465

About

Web test solution using Selenium with BDD. Extent html,pdf and Json report included. Test scripts written for http://automationpractice.com/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published