SlideShare a Scribd company logo
1 of 13
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

[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...
[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...
[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...
Applitools
 
Ruby onrails cucumber-rspec-capybara
Ruby onrails cucumber-rspec-capybaraRuby onrails cucumber-rspec-capybara
Ruby onrails cucumber-rspec-capybara
Bindesh Vijayan
 

What's hot (20)

Selenium RC: Automated Testing of Modern Web Applications
Selenium RC: Automated Testing of Modern Web ApplicationsSelenium RC: Automated Testing of Modern Web Applications
Selenium RC: Automated Testing of Modern Web Applications
 
QA Fest 2015. Сергей Пирогов. Красивые JBehave отчеты
QA Fest 2015. Сергей Пирогов. Красивые JBehave отчетыQA Fest 2015. Сергей Пирогов. Красивые JBehave отчеты
QA Fest 2015. Сергей Пирогов. Красивые JBehave отчеты
 
Behavior Driven Development by Example
Behavior Driven Development by ExampleBehavior Driven Development by Example
Behavior Driven Development by Example
 
Testing Java EE apps with Arquillian
Testing Java EE apps with ArquillianTesting Java EE apps with Arquillian
Testing Java EE apps with Arquillian
 
Jbehave- Basics to Advance
Jbehave- Basics to AdvanceJbehave- Basics to Advance
Jbehave- Basics to Advance
 
Arquillian & Citrus
Arquillian & CitrusArquillian & Citrus
Arquillian & Citrus
 
Better Page Object Handling with Loadable Component Pattern
Better Page Object Handling with Loadable Component PatternBetter Page Object Handling with Loadable Component Pattern
Better Page Object Handling with Loadable Component Pattern
 
Testing Code.org's Interactive CS Curriculum
Testing Code.org's Interactive CS CurriculumTesting Code.org's Interactive CS Curriculum
Testing Code.org's Interactive CS Curriculum
 
Test Automation Framework using Cucumber BDD Overview - part 2
Test Automation Framework using Cucumber BDD Overview - part 2Test Automation Framework using Cucumber BDD Overview - part 2
Test Automation Framework using Cucumber BDD Overview - part 2
 
BDD using JBehave
BDD using JBehaveBDD using JBehave
BDD using JBehave
 
[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...
[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...
[Webinar] Continuous Testing Done Right: Test Automation at the World's Leadi...
 
DevQA: make your testers happier with Groovy, Spock and Geb
DevQA: make your testers happier with Groovy, Spock and GebDevQA: make your testers happier with Groovy, Spock and Geb
DevQA: make your testers happier with Groovy, Spock and Geb
 
FIT and JBehave - Good, Bad and Ugly
FIT and JBehave - Good, Bad and UglyFIT and JBehave - Good, Bad and Ugly
FIT and JBehave - Good, Bad and Ugly
 
Jasmine - A BDD test framework for JavaScript
Jasmine - A BDD test framework for JavaScriptJasmine - A BDD test framework for JavaScript
Jasmine - A BDD test framework for JavaScript
 
Automation Frame works Instruction Sheet
Automation Frame works Instruction SheetAutomation Frame works Instruction Sheet
Automation Frame works Instruction Sheet
 
Ruby onrails cucumber-rspec-capybara
Ruby onrails cucumber-rspec-capybaraRuby onrails cucumber-rspec-capybara
Ruby onrails cucumber-rspec-capybara
 
Selenium Java for Beginners by Sujit Pathak
Selenium Java for Beginners by Sujit PathakSelenium Java for Beginners by Sujit Pathak
Selenium Java for Beginners by Sujit Pathak
 
Selenium Architecture
Selenium ArchitectureSelenium Architecture
Selenium Architecture
 
Introduction to Protractor
Introduction to ProtractorIntroduction to Protractor
Introduction to Protractor
 
An Introduction to AngularJS End to End Testing using Protractor
An Introduction to AngularJS End to End Testing using ProtractorAn Introduction to AngularJS End to End Testing using Protractor
An Introduction to AngularJS End to End Testing using Protractor
 

Similar to Automation solution using jbehave, selenium and hudson

Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US
gbaravindkumar
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presented
Vijayan Reddy
 
Alexander Zeng
Alexander ZengAlexander Zeng
Alexander Zeng
Alex Zeng
 

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

Accessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup WebinarAccessibility Testing - Using Asqatasun - Meetup Webinar
Accessibility Testing - Using Asqatasun - Meetup Webinar
 
1,2,3 … Testing : Is this thing on(line)? with Mike Martin
1,2,3 … Testing : Is this thing on(line)? with Mike Martin1,2,3 … Testing : Is this thing on(line)? with Mike Martin
1,2,3 … Testing : Is this thing on(line)? with Mike Martin
 
Automamtion testing tools 2023.pdf
Automamtion testing tools 2023.pdfAutomamtion testing tools 2023.pdf
Automamtion testing tools 2023.pdf
 
Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US Aravind Java Selenium Automation- US
Aravind Java Selenium Automation- US
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presented
 
leenaaggarwal
leenaaggarwalleenaaggarwal
leenaaggarwal
 
Front End Engineer Resume
Front End Engineer ResumeFront End Engineer Resume
Front End Engineer Resume
 
508 ada-wcag md mustafizur rahman.
508 ada-wcag md mustafizur rahman.508 ada-wcag md mustafizur rahman.
508 ada-wcag md mustafizur rahman.
 
Testing Services - Software Quality Assurance
Testing Services - Software Quality AssuranceTesting Services - Software Quality Assurance
Testing Services - Software Quality Assurance
 
Alexander Zeng
Alexander ZengAlexander Zeng
Alexander Zeng
 
Abhilash Alwandi resume
Abhilash Alwandi resumeAbhilash Alwandi resume
Abhilash Alwandi resume
 
Katalon Studio - Successful Test Automation for both Testers and Developers
Katalon Studio - Successful Test Automation for both Testers and DevelopersKatalon Studio - Successful Test Automation for both Testers and Developers
Katalon Studio - Successful Test Automation for both Testers and Developers
 
Maharajan - CV
Maharajan - CVMaharajan - CV
Maharajan - CV
 
Serverless in Azure with Functions
Serverless in Azure with FunctionsServerless in Azure with Functions
Serverless in Azure with Functions
 
Selva_Selenium
Selva_SeleniumSelva_Selenium
Selva_Selenium
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6
 
Practical Accessibility Testing
Practical Accessibility TestingPractical Accessibility Testing
Practical Accessibility Testing
 
Web Test Automation Framework - IndicThreads Conference
Web Test Automation Framework  - IndicThreads ConferenceWeb Test Automation Framework  - IndicThreads Conference
Web Test Automation Framework - IndicThreads Conference
 
#ATAGTR2020 Presentation - Universal Test Automation Framework
#ATAGTR2020 Presentation - Universal Test Automation Framework#ATAGTR2020 Presentation - Universal Test Automation Framework
#ATAGTR2020 Presentation - Universal Test Automation Framework
 
Cost Effective Web Application Testing
Cost Effective Web Application TestingCost Effective Web Application Testing
Cost Effective Web Application Testing
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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...
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Automation solution using jbehave, selenium and hudson

  • 1. Pankaj Nakhat Agile and Automation Test Consultant pankaj@qainfolabs.com 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 ˃ pankaht@gmail.com ˃ +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