SlideShare a Scribd company logo
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 

More Related Content

What's hot

What Is Cucumber?
What Is Cucumber?What Is Cucumber?
What Is Cucumber?
QATestLab
 
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)
Mindfire Solutions
 
Introduction to Bdd and cucumber
Introduction to Bdd and cucumberIntroduction to Bdd and cucumber
Introduction to Bdd and cucumber
Nibu Baby
 
Cucumber BDD
Cucumber BDDCucumber BDD
Cucumber BDD
Pravin Dsilva
 
Cucumber Tool
Cucumber ToolCucumber Tool
Cucumber Tool
Sohail Ahmed
 
BDD & Cucumber
BDD & CucumberBDD & Cucumber
BDD & Cucumber
Vladimir Arutin
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
Srikanth Vuriti
 
Test Automation
Test AutomationTest Automation
Test Automation
rockoder
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
Karapet Sarkisyan
 
Test automation
Test automationTest automation
Test automation
Xavier Yin
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
Naresh Chintalcheru
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
Tzirla Rozental
 
Cucumber & gherkin language
Cucumber & gherkin languageCucumber & gherkin language
Cucumber & gherkin language
selvanathankapilan
 
BDD testing with cucumber
BDD testing with cucumberBDD testing with cucumber
BDD testing with cucumber
Daniel Kummer
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
Sauce Labs
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
Vijay Rangaiah
 
Behavior driven development (bdd)
Behavior driven development (bdd)Behavior driven development (bdd)
Behavior driven development (bdd)
Rohit Bisht
 
Bdd Introduction
Bdd IntroductionBdd Introduction
Bdd Introduction
Skills Matter
 
API Test Automation Using Karate (Anil Kumar Moka)
API Test Automation Using Karate (Anil Kumar Moka)API Test Automation Using Karate (Anil Kumar Moka)
API Test Automation Using Karate (Anil Kumar Moka)
Peter Thomas
 

What's hot (20)

What Is Cucumber?
What Is Cucumber?What Is Cucumber?
What Is Cucumber?
 
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
 
Cucumber presenation
Cucumber presenationCucumber presenation
Cucumber presenation
 
Cucumber BDD
Cucumber BDDCucumber BDD
Cucumber BDD
 
Cucumber Tool
Cucumber ToolCucumber Tool
Cucumber Tool
 
BDD & Cucumber
BDD & CucumberBDD & Cucumber
BDD & Cucumber
 
Selenium test automation
Selenium test automationSelenium test automation
Selenium test automation
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Test Automation and Selenium
Test Automation and SeleniumTest Automation and Selenium
Test Automation and Selenium
 
Test automation
Test automationTest automation
Test automation
 
Automation Testing using Selenium
Automation Testing using SeleniumAutomation Testing using Selenium
Automation Testing using Selenium
 
Automation - web testing with selenium
Automation - web testing with seleniumAutomation - web testing with selenium
Automation - web testing with selenium
 
Cucumber & gherkin language
Cucumber & gherkin languageCucumber & gherkin language
Cucumber & gherkin language
 
BDD testing with cucumber
BDD testing with cucumberBDD testing with cucumber
BDD testing with cucumber
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Selenium Presentation at Engineering Colleges
Selenium Presentation at Engineering CollegesSelenium Presentation at Engineering Colleges
Selenium Presentation at Engineering Colleges
 
Behavior driven development (bdd)
Behavior driven development (bdd)Behavior driven development (bdd)
Behavior driven development (bdd)
 
Bdd Introduction
Bdd IntroductionBdd Introduction
Bdd Introduction
 
API Test Automation Using Karate (Anil Kumar Moka)
API Test Automation Using Karate (Anil Kumar Moka)API Test Automation Using Karate (Anil Kumar Moka)
API Test Automation Using Karate (Anil Kumar Moka)
 

Similar to 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
 
Upstream testing.
Upstream testing.Upstream testing.
Upstream testing.
Mindtree Ltd.
 
Getting Started With QA Automation
Getting Started With QA AutomationGetting Started With QA Automation
Getting Started With QA Automation
Giovanni Scerra ☃
 
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
flufftailshop
 
Open Source Software Testing Tools
Open Source Software Testing ToolsOpen Source Software Testing Tools
Open Source Software Testing Tools
Varuna Harshana
 
Software testing
Software testingSoftware testing
Software testing
KarnatiChandramoules
 
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.pdf
pCloudy
 
Automation testing
Automation testingAutomation testing
Automation testing
Arta 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 platform
Knoldus Inc.
 
Code in the Cloud - December 8th 2014
Code in the Cloud - December 8th 2014Code in the Cloud - December 8th 2014
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing Essay
Dani 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
 

Similar to 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
 
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
A Comprehensive Guide to Conducting Test Automation Using Appium & Cucumber o...
 
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 ?
 

Recently uploaded

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 

Recently uploaded (20)

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 

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