SlideShare a Scribd company logo
Pankaj Nakhat
Agile and Automation Test Consultant
pankaj@qainfolabs.com
http://uk.linkedin.com/in/pankajnakhat
http://pankajnakhat.com/blog
» Agile and Automation Test Consultant
» 10 Years of experience in Agile Testing,
  Coaching and Consulting
» With Major media , Investment Banking and
  Product based companies.

» Pankaj Nakhat
  ˃ http://www.pankajnakhat.com/blog
  ˃ pankaht@gmail.com
  ˃ +44 7799663003
  ˃ +91 9799056600
»   Maintainability
»   Reusability
»   Usability
»   Scalability
»   Reliability
» Dynamic nature of web pages
» Ever changing Javascript world and Browser
  Capabilities
» Simulating real user experience
» Writing automation test at a low level (E.g > click ,
  select )
» Robust handling of environment and response
  slowness
» Reporting point of failure specifically in terms of a
  feature
» Multi Tier Automation Architecture
» Write test in Domain specific languages
» Intelligent Synchronization based on the
  context of the test
» Separating Test intent and Implementation
» Using abstraction techniques to write
  maintainable test code.
» Using multi Threaded technologies like
  Selenium Grid for Scalability of the tests
» Selenium 2.0 (Webdriver)
   ˃ Advanced browser testing API

» Jbehave
   ˃ BDD Tool to support writing Test in language people speak.

» Hudson (Or Any other CI Tool)
   ˃ To support continuous integration approach
Jbehave Scenarios

                QAs/BAs/SMEs

                Page Object Definition

             Tech QAs / Developers

Test Data,             Utilities, Harness, Locators etc

        QAs                    Tech QA / Devs
» Webdriver is an Advanced API to interact
  with browser
» Clean API enables to write robust
  Automation Solution
» Browsers Supported – Firefox, IE, Chrome,
  Safari, HTMLUnit, Iphone, Android
» Supports various programming languages –
  Java, C#, Python, etc
» Java is supported out of the box
» Behaviour Driven Development tool
http://en.wikipedia.org/wiki/Behavior_Driven_Development
» Tests can be written in English (Or Any other Language)
» Testers can be given a Domain Specific Language to test
» Tests are expressed in Given, When and Then Syntax
» Tests are written in business language, rather then low level
   web language which is hard to maintain.
» Can be used for Web, Integration or API Testing.
» Example (Google mail)
    ˃ Given I login to Google mail
    ˃ When I go to my inbox
    ˃ Then there are 20 new emails

   Comes with a Maven plugin to integrate with any build tool viz Bamboo, Hudson, Cruise Control etc
» Advance Reporting
» Tagging of scenarios – For requirement
  Traceability
» Story Maps – For Better Coverage Reports
» Web Interface to execute scenarios
» Full control on the implementation of the
  Tests
» Keeps Test intent and Implementation
  Separate
» Steps Dictionary – To enable easy finding of
  existing Test steps
»    Framework should be light weight
»    Test code should be as good as Prod. Code
»    Test API should be neat and self documented
»    Page object pattern is one of the widely accepted
    techniques
    ˃ E.g >

public void login(String userName, String Password) {
          Pages.loginPage().open();
          Pages.loginPage().login(userName, password)
          .verifyUserIsLoggedIn();
}
» Open source tools have big user community
» Platform and tools inter dependent
» Tried and tested for years
» Support XP, Agile development methodologies
» Enable automation engagement from different
  stakeholders of the project
» Scalable Cloud solutions available

More Related Content

What's hot (20)

PDF
Selenium RC: Automated Testing of Modern Web Applications
qooxdoo
 
PPTX
QA Fest 2015. Сергей Пирогов. Красивые JBehave отчеты
QAFest
 
PPT
Behavior Driven Development by Example
Nalin Goonawardana
 
PPTX
Testing Java EE apps with Arquillian
Ivan Ivanov
 
PPTX
Jbehave- Basics to Advance
Ravinder Singh
 
PDF
Arquillian & Citrus
christophd
 
PPTX
Better Page Object Handling with Loadable Component Pattern
SQALab
 
PDF
Testing Code.org's Interactive CS Curriculum
Brian Jordan
 
ODP
Test Automation Framework using Cucumber BDD Overview - part 2
Mindfire Solutions
 
PDF
BDD using JBehave
Ajit Skanda Kumaraswamy
 
PDF
[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...
Applitools
 
PDF
DevQA: make your testers happier with Groovy, Spock and Geb
Alvaro Sanchez-Mariscal
 
PPTX
FIT and JBehave - Good, Bad and Ugly
Brian Repko
 
PPT
Jasmine - A BDD test framework for JavaScript
Sumanth krishna
 
DOCX
Automation Frame works Instruction Sheet
vodQA
 
PDF
Ruby onrails cucumber-rspec-capybara
Bindesh Vijayan
 
PPT
Selenium Java for Beginners by Sujit Pathak
Software Testing Board
 
PPT
Selenium Architecture
rohitnayak
 
PDF
Introduction to Protractor
Florian Fesseler
 
PPTX
An Introduction to AngularJS End to End Testing using Protractor
Cubet Techno Labs
 
Selenium RC: Automated Testing of Modern Web Applications
qooxdoo
 
QA Fest 2015. Сергей Пирогов. Красивые JBehave отчеты
QAFest
 
Behavior Driven Development by Example
Nalin Goonawardana
 
Testing Java EE apps with Arquillian
Ivan Ivanov
 
Jbehave- Basics to Advance
Ravinder Singh
 
Arquillian & Citrus
christophd
 
Better Page Object Handling with Loadable Component Pattern
SQALab
 
Testing Code.org's Interactive CS Curriculum
Brian Jordan
 
Test Automation Framework using Cucumber BDD Overview - part 2
Mindfire Solutions
 
BDD using JBehave
Ajit Skanda Kumaraswamy
 
[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...
Applitools
 
DevQA: make your testers happier with Groovy, Spock and Geb
Alvaro Sanchez-Mariscal
 
FIT and JBehave - Good, Bad and Ugly
Brian Repko
 
Jasmine - A BDD test framework for JavaScript
Sumanth krishna
 
Automation Frame works Instruction Sheet
vodQA
 
Ruby onrails cucumber-rspec-capybara
Bindesh Vijayan
 
Selenium Java for Beginners by Sujit Pathak
Software Testing Board
 
Selenium Architecture
rohitnayak
 
Introduction to Protractor
Florian Fesseler
 
An Introduction to AngularJS End to End Testing using Protractor
Cubet Techno Labs
 

Similar to Automation solution using jbehave, selenium and hudson (20)

PPT
Test Automation With Cucumber JVM, Selenium, and Mocha
Salesforce Developers
 
PDF
Web Test Automation Framework - IndicThreads Conference
IndicThreads
 
PPTX
Automated integration tests for ajax applications (с. карпушин, auriga)
Mobile Developer Day
 
PPT
Agile Testing
Anand Ramdeo
 
PPT
Stepin evening presented
Vijayan Reddy
 
PPTX
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
PPTX
Neev Independent Testing Services
Neev Technologies
 
PPTX
QA team transition to agile testing at Alcatel Lucent
AgileSparks
 
PDF
Webapp Automation Testing of performance marketing and media platform
Knoldus Inc.
 
PDF
Acceptance Testing of Web UI
Vladimir Tsukur
 
PDF
Selenium and JMeter Testing
ArchanaKalapgar
 
PDF
Selenium and JMeter
ArchanaKalapgar
 
PPTX
Agile Testing at eBay
Dominik Dary
 
PDF
Test automation - Building effective solutions
Artem Nagornyi
 
PDF
Implementing Test Automation in Agile Projects
Dominik Dary
 
PDF
Ui automation
test test
 
PPTX
All levels of performance testing and monitoring in web-apps
Andrii Skrypnychenko
 
PDF
Case Study : Manual & Automation Testing
360logica Software Testing Services (A Saksoft Company)
 
PPTX
Test Automation Frameworks: Assumptions, Concepts & Tools
Amit Rawat
 
DOC
Aravind Java Selenium Automation- US
gbaravindkumar
 
Test Automation With Cucumber JVM, Selenium, and Mocha
Salesforce Developers
 
Web Test Automation Framework - IndicThreads Conference
IndicThreads
 
Automated integration tests for ajax applications (с. карпушин, auriga)
Mobile Developer Day
 
Agile Testing
Anand Ramdeo
 
Stepin evening presented
Vijayan Reddy
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
hemasubbu08
 
Neev Independent Testing Services
Neev Technologies
 
QA team transition to agile testing at Alcatel Lucent
AgileSparks
 
Webapp Automation Testing of performance marketing and media platform
Knoldus Inc.
 
Acceptance Testing of Web UI
Vladimir Tsukur
 
Selenium and JMeter Testing
ArchanaKalapgar
 
Selenium and JMeter
ArchanaKalapgar
 
Agile Testing at eBay
Dominik Dary
 
Test automation - Building effective solutions
Artem Nagornyi
 
Implementing Test Automation in Agile Projects
Dominik Dary
 
Ui automation
test test
 
All levels of performance testing and monitoring in web-apps
Andrii Skrypnychenko
 
Case Study : Manual & Automation Testing
360logica Software Testing Services (A Saksoft Company)
 
Test Automation Frameworks: Assumptions, Concepts & Tools
Amit Rawat
 
Aravind Java Selenium Automation- US
gbaravindkumar
 
Ad

Recently uploaded (20)

PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Ad

Automation solution using jbehave, selenium and hudson

  • 1. Pankaj Nakhat Agile and Automation Test Consultant [email protected] http://uk.linkedin.com/in/pankajnakhat http://pankajnakhat.com/blog
  • 2. » Agile and Automation Test Consultant » 10 Years of experience in Agile Testing, Coaching and Consulting » With Major media , Investment Banking and Product based companies. » Pankaj Nakhat ˃ http://www.pankajnakhat.com/blog ˃ [email protected] ˃ +44 7799663003 ˃ +91 9799056600
  • 3. » Maintainability » Reusability » Usability » Scalability » Reliability
  • 4. » Dynamic nature of web pages » Ever changing Javascript world and Browser Capabilities » Simulating real user experience » Writing automation test at a low level (E.g > click , select ) » Robust handling of environment and response slowness » Reporting point of failure specifically in terms of a feature
  • 5. » Multi Tier Automation Architecture » Write test in Domain specific languages » Intelligent Synchronization based on the context of the test » Separating Test intent and Implementation » Using abstraction techniques to write maintainable test code. » Using multi Threaded technologies like Selenium Grid for Scalability of the tests
  • 6. » Selenium 2.0 (Webdriver) ˃ Advanced browser testing API » Jbehave ˃ BDD Tool to support writing Test in language people speak. » Hudson (Or Any other CI Tool) ˃ To support continuous integration approach
  • 7. Jbehave Scenarios QAs/BAs/SMEs Page Object Definition Tech QAs / Developers Test Data, Utilities, Harness, Locators etc QAs Tech QA / Devs
  • 8. » Webdriver is an Advanced API to interact with browser » Clean API enables to write robust Automation Solution » Browsers Supported – Firefox, IE, Chrome, Safari, HTMLUnit, Iphone, Android » Supports various programming languages – Java, C#, Python, etc » Java is supported out of the box
  • 9. » Behaviour Driven Development tool http://en.wikipedia.org/wiki/Behavior_Driven_Development » Tests can be written in English (Or Any other Language) » Testers can be given a Domain Specific Language to test » Tests are expressed in Given, When and Then Syntax » Tests are written in business language, rather then low level web language which is hard to maintain. » Can be used for Web, Integration or API Testing. » Example (Google mail) ˃ Given I login to Google mail ˃ When I go to my inbox ˃ Then there are 20 new emails Comes with a Maven plugin to integrate with any build tool viz Bamboo, Hudson, Cruise Control etc
  • 11. » Tagging of scenarios – For requirement Traceability » Story Maps – For Better Coverage Reports » Web Interface to execute scenarios » Full control on the implementation of the Tests » Keeps Test intent and Implementation Separate » Steps Dictionary – To enable easy finding of existing Test steps
  • 12. » Framework should be light weight » Test code should be as good as Prod. Code » Test API should be neat and self documented » Page object pattern is one of the widely accepted techniques ˃ E.g > public void login(String userName, String Password) { Pages.loginPage().open(); Pages.loginPage().login(userName, password) .verifyUserIsLoggedIn(); }
  • 13. » Open source tools have big user community » Platform and tools inter dependent » Tried and tested for years » Support XP, Agile development methodologies » Enable automation engagement from different stakeholders of the project » Scalable Cloud solutions available