SlideShare une entreprise Scribd logo
1  sur  22
Automated Test Framework
with Cucumber
PROJECT WORK PRESENTATION
Ramesh Krishnan G
2014HT12514
Agenda
 Objective
 Existing Problem
 Proposed Solution
 Why this Project ?
 Cucumber Automation Tool
 Cucumber Testing Stack
 Framework Architecture
 Cucumber Workflow
 Test Reports
 Summary and Conclusion
 Directions for the future
Objective
The Objective of Automated Test Framework with Cucumber are as follows:
 To reduce the gap between software developers and stakeholders
 To overcome the disadvantages of existing automation tool QTP
 To reduce Testing Cost and Time
 To improve Test Coverage
 To reduce Redundancy
 To gain confidence in the system
 To reduce the number of defects found by users
 To run regression test overnight and weekends
Existing Problem
 Producer Gap - Difference between what is specified vs what is delivered
 Customer Gap - Difference between what the producers actually delivered vs
what the customer wanted
Proposed Solution
 Cucumber is a software tool based on Behavior Driven Development (BDD)
model which is used to write acceptance tests for web application
 Allows automation of functional validation in easily readable and
understandable format (like plain English) to Stakeholders, Business Analysts,
Developers, Testers, etc.
 The test suites are then translated into the programming language by
Cucumber, which supports multiple programming and scripting languages.
Why this Project ?
 Need to deliver the project using a good reliable tool which is open source
 Management should understand what the project does. Using Cucumber a
layman can understand what the test case is.
 Deliver quickly with a high standard compared to QTP
 In agile development process, cucumber is more useful to validate the
requirements
 Software Testers with less coding knowledge can use this framework to develop
the test suites
Cucumber Automation Tool
 Tool that executes plain text functional descriptions as automated test
 Runs automated acceptance test on Web applications
 Language that Cucumber understands is called “Gherkin”
 Cucumber Test are written in a file called Feature
 Feature file contains list of test scenarios
 Each line in a scenario is called step which are defined with the help of “Given”,
“When”, “Then” and “And” keywords
 Step Defintion is a place where the automation codes are written for steps
 Steps in the feature file are directly mapped to step definitions
 Step definition is a block of code written with any one of the programming
language such as Java or Ruby
Simple Cucumber Test
Feature: E-Commerce Application
Scenario: Users should see sign out button once signed in
Given I open the Login page of the application
When I enter valid credentials and click sign-in button
Then I verify the application Home Page is displayed
And I verify the sign out button is displayed at bottom of home page
Cucumber Testing Stack
Setting up Environment
Step 1: Download and Install Java and Java Development Kit
Step 2: Setup Java Runtime Environment
Step 3: Install and Configure Maven
Step 4: Download and Configure Eclipse IDE
Step 5: Install Plugins for Eclipse IDE
Step 6: Create New Maven Project
Step 7: Configure Cucumber and Selenium with Maven Project
Cucumber Framework Architecture
Folder Structure
Cucumber Workflow
Key Feature of Framework
 Page Object Model is used as design pattern to capture the object repository for
web elements
 Reusable step definitions can be developed and used for any web applications
 Extent Report is used to for Report Generation
 Test Reports will be placed in target folder
 If test scenario fails, the screen for each failed scenario will be taken and placed in
Screenshots folder
 Email will be delivered to mail ids with test report
 Integrated with Jenkins, a Continuous Integration Tool which is used to schedule
test and separate cucumber reports also be generated
 Cross Browser Testing
Extend Report
Jenkins Workflow
Jenkin Cucumber Report
Summary & conclusion
 Automated Testing with cucumber minimizes the software quality gap and
reduces the communication gap between the developers and stakeholders
 The Functional and Unit testing for the web applications has become easy
with this framework which minimizes the human effort involved in testing
and to overcome the disadvantages of testing made with UFT/QTP tool
 Automation team can be formed with Software Testers with less coding
knowledge or no coding knowledge
Directions for the future
 This automation framework can be enhanced to do automation in multiple
browsers and parallel execution with help of Selenium Grid
 Selenium Grid provides the flexibility to distribute the test cases for
execution. It reduces the batch processing time.
 Further, this project can be enhanced by deploying the automation test
source code in a common server which is accessible by all the team
members and integrated with the help of Source tree
Demo
Questions?
Thank you 

Contenu connexe

Tendances

Tendances (20)

Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
What Is Cucumber?
What Is Cucumber?What Is Cucumber?
What Is Cucumber?
 
Gherkin /BDD intro
Gherkin /BDD introGherkin /BDD intro
Gherkin /BDD intro
 
Test Automation Framework using Cucumber BDD overview (part 1)
Test Automation Framework using Cucumber BDD overview (part 1)Test Automation Framework using Cucumber BDD overview (part 1)
Test Automation Framework using Cucumber BDD overview (part 1)
 
Introduction to Bdd and cucumber
Introduction to Bdd and cucumberIntroduction to Bdd and cucumber
Introduction to Bdd and cucumber
 
BDD & Cucumber
BDD & CucumberBDD & Cucumber
BDD & Cucumber
 
Cucumber Tool
Cucumber ToolCucumber Tool
Cucumber Tool
 
Cucumber presenation
Cucumber presenationCucumber presenation
Cucumber presenation
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Cucumber & gherkin language
Cucumber & gherkin languageCucumber & gherkin language
Cucumber & gherkin language
 
Test automation process
Test automation processTest automation process
Test automation process
 
Cucumber presentation
Cucumber presentationCucumber presentation
Cucumber presentation
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
Introduction to Selenium Web Driver
Introduction to Selenium Web DriverIntroduction to Selenium Web Driver
Introduction to Selenium Web Driver
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Cucumber With Selenium
Cucumber With SeleniumCucumber With Selenium
Cucumber With Selenium
 
Test automation
Test automationTest automation
Test automation
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 

Similaire à Automated Test Framework with Cucumber

HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)Lokesh Singrol
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test CompleteVartika Saxena
 
Testing project (basic)
Testing project (basic)Testing project (basic)
Testing project (basic)Lokesh Singrol
 
Getting Started With QA Automation
Getting Started With QA AutomationGetting Started With QA Automation
Getting Started With QA AutomationGiovanni Scerra ☃
 
Open Source Software Testing Tools
Open Source Software Testing ToolsOpen Source Software Testing Tools
Open Source Software Testing ToolsVaruna Harshana
 
CucumberSeleniumWD
CucumberSeleniumWDCucumberSeleniumWD
CucumberSeleniumWDVikas Sarin
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...DevDay.org
 
Web Application Testing – The Basics of Web App Test Automation.pdf
Web Application Testing – The Basics of Web App Test Automation.pdfWeb Application Testing – The Basics of Web App Test Automation.pdf
Web Application Testing – The Basics of Web App Test Automation.pdfpCloudy
 
Automation testing
Automation testingAutomation testing
Automation testingArta Doci
 
Webapp Automation Testing of performance marketing and media platform
Webapp Automation Testing of performance marketing and media platformWebapp Automation Testing of performance marketing and media platform
Webapp Automation Testing of performance marketing and media platformKnoldus Inc.
 
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing EssayDani Cox
 
SELENIUM or QTP Which is a Best Automation Tool for Your Business ?
SELENIUM or QTP Which is a Best Automation Tool for Your Business ?SELENIUM or QTP Which is a Best Automation Tool for Your Business ?
SELENIUM or QTP Which is a Best Automation Tool for Your Business ?JanBask Training
 
How Does No Code Testing Work........pdf
How Does No Code Testing Work........pdfHow Does No Code Testing Work........pdf
How Does No Code Testing Work........pdfpcloudy2
 

Similaire à Automated Test Framework with Cucumber (20)

HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)
 
Automation Testing with Test Complete
Automation Testing with Test CompleteAutomation Testing with Test Complete
Automation Testing with Test Complete
 
Testing project (basic)
Testing project (basic)Testing project (basic)
Testing project (basic)
 
Upstream testing.
Upstream testing.Upstream testing.
Upstream testing.
 
Getting Started With QA Automation
Getting Started With QA AutomationGetting Started With QA Automation
Getting Started With QA Automation
 
Mohseen Ali
Mohseen AliMohseen Ali
Mohseen Ali
 
Open Source Software Testing Tools
Open Source Software Testing ToolsOpen Source Software Testing Tools
Open Source Software Testing Tools
 
Software testing
Software testingSoftware testing
Software testing
 
CucumberSeleniumWD
CucumberSeleniumWDCucumberSeleniumWD
CucumberSeleniumWD
 
Resume 2 year
Resume  2 yearResume  2 year
Resume 2 year
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
 
Future of QA
Future of QAFuture of QA
Future of QA
 
Futureofqa
FutureofqaFutureofqa
Futureofqa
 
Web Application Testing – The Basics of Web App Test Automation.pdf
Web Application Testing – The Basics of Web App Test Automation.pdfWeb Application Testing – The Basics of Web App Test Automation.pdf
Web Application Testing – The Basics of Web App Test Automation.pdf
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Webapp Automation Testing of performance marketing and media platform
Webapp Automation Testing of performance marketing and media platformWebapp Automation Testing of performance marketing and media platform
Webapp Automation Testing of performance marketing and media platform
 
Code in the Cloud - December 8th 2014
Code in the Cloud - December 8th 2014Code in the Cloud - December 8th 2014
Code in the Cloud - December 8th 2014
 
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing Essay
 
SELENIUM or QTP Which is a Best Automation Tool for Your Business ?
SELENIUM or QTP Which is a Best Automation Tool for Your Business ?SELENIUM or QTP Which is a Best Automation Tool for Your Business ?
SELENIUM or QTP Which is a Best Automation Tool for Your Business ?
 
How Does No Code Testing Work........pdf
How Does No Code Testing Work........pdfHow Does No Code Testing Work........pdf
How Does No Code Testing Work........pdf
 

Dernier

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 

Dernier (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

Automated Test Framework with Cucumber

  • 1. Automated Test Framework with Cucumber PROJECT WORK PRESENTATION Ramesh Krishnan G 2014HT12514
  • 2. Agenda  Objective  Existing Problem  Proposed Solution  Why this Project ?  Cucumber Automation Tool  Cucumber Testing Stack  Framework Architecture  Cucumber Workflow  Test Reports  Summary and Conclusion  Directions for the future
  • 3. Objective The Objective of Automated Test Framework with Cucumber are as follows:  To reduce the gap between software developers and stakeholders  To overcome the disadvantages of existing automation tool QTP  To reduce Testing Cost and Time  To improve Test Coverage  To reduce Redundancy  To gain confidence in the system  To reduce the number of defects found by users  To run regression test overnight and weekends
  • 4. Existing Problem  Producer Gap - Difference between what is specified vs what is delivered  Customer Gap - Difference between what the producers actually delivered vs what the customer wanted
  • 5. Proposed Solution  Cucumber is a software tool based on Behavior Driven Development (BDD) model which is used to write acceptance tests for web application  Allows automation of functional validation in easily readable and understandable format (like plain English) to Stakeholders, Business Analysts, Developers, Testers, etc.  The test suites are then translated into the programming language by Cucumber, which supports multiple programming and scripting languages.
  • 6. Why this Project ?  Need to deliver the project using a good reliable tool which is open source  Management should understand what the project does. Using Cucumber a layman can understand what the test case is.  Deliver quickly with a high standard compared to QTP  In agile development process, cucumber is more useful to validate the requirements  Software Testers with less coding knowledge can use this framework to develop the test suites
  • 7. Cucumber Automation Tool  Tool that executes plain text functional descriptions as automated test  Runs automated acceptance test on Web applications  Language that Cucumber understands is called “Gherkin”  Cucumber Test are written in a file called Feature  Feature file contains list of test scenarios  Each line in a scenario is called step which are defined with the help of “Given”, “When”, “Then” and “And” keywords  Step Defintion is a place where the automation codes are written for steps  Steps in the feature file are directly mapped to step definitions  Step definition is a block of code written with any one of the programming language such as Java or Ruby
  • 8. Simple Cucumber Test Feature: E-Commerce Application Scenario: Users should see sign out button once signed in Given I open the Login page of the application When I enter valid credentials and click sign-in button Then I verify the application Home Page is displayed And I verify the sign out button is displayed at bottom of home page
  • 10. Setting up Environment Step 1: Download and Install Java and Java Development Kit Step 2: Setup Java Runtime Environment Step 3: Install and Configure Maven Step 4: Download and Configure Eclipse IDE Step 5: Install Plugins for Eclipse IDE Step 6: Create New Maven Project Step 7: Configure Cucumber and Selenium with Maven Project
  • 14. Key Feature of Framework  Page Object Model is used as design pattern to capture the object repository for web elements  Reusable step definitions can be developed and used for any web applications  Extent Report is used to for Report Generation  Test Reports will be placed in target folder  If test scenario fails, the screen for each failed scenario will be taken and placed in Screenshots folder  Email will be delivered to mail ids with test report  Integrated with Jenkins, a Continuous Integration Tool which is used to schedule test and separate cucumber reports also be generated  Cross Browser Testing
  • 18. Summary & conclusion  Automated Testing with cucumber minimizes the software quality gap and reduces the communication gap between the developers and stakeholders  The Functional and Unit testing for the web applications has become easy with this framework which minimizes the human effort involved in testing and to overcome the disadvantages of testing made with UFT/QTP tool  Automation team can be formed with Software Testers with less coding knowledge or no coding knowledge
  • 19. Directions for the future  This automation framework can be enhanced to do automation in multiple browsers and parallel execution with help of Selenium Grid  Selenium Grid provides the flexibility to distribute the test cases for execution. It reduces the batch processing time.  Further, this project can be enhanced by deploying the automation test source code in a common server which is accessible by all the team members and integrated with the help of Source tree
  • 20. Demo