SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Webdriver Automation
using Watir and Cucumber
Agenda

Tools & Technologies

Overview Of Technologies Used

Why Watir?

Framework Architecture

Framework Features

Framework Workflow

Comparison Analysis

What's next in Phase II

Questions & Feedback
Tools & Technologies

Ruby 1.9.3 and following Gems:

Watir-webdriver

Cucumber

Development IDE (Eclipse version 3.x)

CI Tool (Jenkins)

Selenium Grid version 2.42.x .

JDK latest
Overview Of Technologies Used

Ruby: Simple and easy to learn language.

Watir Webdriver – This provides simplicity of Watir along with
advance WebDriver functionality.

Cucumber: Providing Behaviour Development Driven
framework, i.e. Writing scripts in plain language.

Cucumber allows reporting in HTML and JSON (JavaScript
Object Notation).

Cucumber makes parallel execution and reporting more
simple.

Selenium Grid provides option to execute suite remotely.

Jenkins implementation for scheduling and email notification.
Why Watir?

WATIR is wrapped around Selenium-webdriver with added
functions known as Watir-Webdriver.

Watir automatically waits for the page to finish loading.

Watir is open source and Watir community is growing strong.

Cucumber has perfect match with Watir-webDriver, which in
turn result in faster script creation using BDD framework
approach.

Watir’s API is easier to use and has more features whereas in
Selenium every web component is web-element.

Watir-webdriver code is more understandable and readable,
as it is written in Ruby language.
Framework Architecture
Framework Features
S.No Features Status
1 Runs on Chrome, Firefox and Internet Explorer. 
2 High maintainability with Page object model embedded
in Cucumber.

3 Screen-shot on failure. 
4 Archiving the previous results. 
5 Parallel execution locally or remotely. 
6 Re-execution logic. 
7 Scheduling with CI tool. 
8 Email notification with attached HTML report. 
9 Sauce Labs Integration. 
Framework Work flow
Comparison Analysis
  Watir-Webdriver Selenium-
Webdriver QTP Test 
Complete
 Language 
easiness Easy Script Creation Complex Script
Creation
VBScript is
easy
Good
programming
 IDE No IDE, uses eclipse
plug-in
No IDE, uses
eclipse plug-in
Has its own
IDE
Has its own
IDE
 OS 
Supported Windows/ Mac/ Linux Windows/ Mac/
Linux Windows Windows
 Record And 
Play
Yes
(Watir Recorder ++) Yes Yes Yes
Execution 
Speed Fast Speed can be
adjusted Fast Medium
 Licence Cost  Open-Source Open-Source Paid Paid
Questions & Feedback
Thanks

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Jenkins and AWS DevOps Tools
Jenkins and AWS DevOps ToolsJenkins and AWS DevOps Tools
Jenkins and AWS DevOps Tools
 
React native in the wild @ Codemotion 2016 in Rome
React native in the wild @ Codemotion 2016 in RomeReact native in the wild @ Codemotion 2016 in Rome
React native in the wild @ Codemotion 2016 in Rome
 
Node js training (1)
Node js training (1)Node js training (1)
Node js training (1)
 
Play framework And Google Cloud Platform GCP.
Play framework And Google Cloud Platform GCP.Play framework And Google Cloud Platform GCP.
Play framework And Google Cloud Platform GCP.
 
Node js
Node jsNode js
Node js
 
Come Sail Away With Me (you guys): Node.js MVC Web API's Using Sails.js
Come Sail Away With Me (you guys): Node.js MVC Web API's Using Sails.jsCome Sail Away With Me (you guys): Node.js MVC Web API's Using Sails.js
Come Sail Away With Me (you guys): Node.js MVC Web API's Using Sails.js
 
Play Framework 2.5
Play Framework 2.5Play Framework 2.5
Play Framework 2.5
 
Spring Boot Update
Spring Boot UpdateSpring Boot Update
Spring Boot Update
 
Spring Boot
Spring BootSpring Boot
Spring Boot
 
Clustering Multiple Instances in Cold Fusion
Clustering Multiple Instances in Cold FusionClustering Multiple Instances in Cold Fusion
Clustering Multiple Instances in Cold Fusion
 
What is Node.js | Node.js Tutorial for Beginners | Node.js Modules | Node.js ...
What is Node.js | Node.js Tutorial for Beginners | Node.js Modules | Node.js ...What is Node.js | Node.js Tutorial for Beginners | Node.js Modules | Node.js ...
What is Node.js | Node.js Tutorial for Beginners | Node.js Modules | Node.js ...
 
From zero to hero with React Native!
From zero to hero with React Native!From zero to hero with React Native!
From zero to hero with React Native!
 
Improve your Java Environment with Docker
Improve your Java Environment with DockerImprove your Java Environment with Docker
Improve your Java Environment with Docker
 
Launch Arguments & NSUserDefaults by Franck Lefebvre
Launch Arguments & NSUserDefaults by Franck LefebvreLaunch Arguments & NSUserDefaults by Franck Lefebvre
Launch Arguments & NSUserDefaults by Franck Lefebvre
 
Creating books app with react native
Creating books app with react nativeCreating books app with react native
Creating books app with react native
 
Capybara testing
Capybara testingCapybara testing
Capybara testing
 
Optimizing React Native views for pre-animation
Optimizing React Native views for pre-animationOptimizing React Native views for pre-animation
Optimizing React Native views for pre-animation
 
Introducing CQ 5.1
Introducing CQ 5.1Introducing CQ 5.1
Introducing CQ 5.1
 
"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii Shumada"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii Shumada
 
Intro to react native
Intro to react nativeIntro to react native
Intro to react native
 

Ähnlich wie watir-webdriver

Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
Nikhil Kapoor
 
Netbeans65 Osum Slides
Netbeans65 Osum SlidesNetbeans65 Osum Slides
Netbeans65 Osum Slides
Abhishek Gupta
 
Busy developer-html5-javaee7
Busy developer-html5-javaee7Busy developer-html5-javaee7
Busy developer-html5-javaee7
Geertjan Wielenga
 

Ähnlich wie watir-webdriver (20)

Test Automation Using Selenium
Test Automation Using SeleniumTest Automation Using Selenium
Test Automation Using Selenium
 
No Va Taig April 7 2010
No Va Taig April 7 2010No Va Taig April 7 2010
No Va Taig April 7 2010
 
selenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdfselenium-webdriver-interview-questions.pdf
selenium-webdriver-interview-questions.pdf
 
Vijay Oscon
Vijay OsconVijay Oscon
Vijay Oscon
 
Surati Tech Talks 2022 / Build reliable Svelte applications using Cypress
Surati Tech Talks 2022 / Build reliable Svelte applications using CypressSurati Tech Talks 2022 / Build reliable Svelte applications using Cypress
Surati Tech Talks 2022 / Build reliable Svelte applications using Cypress
 
Web driver interface
Web driver interfaceWeb driver interface
Web driver interface
 
Netbeans65 Osum Slides
Netbeans65 Osum SlidesNetbeans65 Osum Slides
Netbeans65 Osum Slides
 
Automated Testing in DevOps
Automated Testing in DevOpsAutomated Testing in DevOps
Automated Testing in DevOps
 
.net Framework
.net Framework.net Framework
.net Framework
 
DotnetConf - Cloud native and .Net5 announcements
DotnetConf - Cloud native and .Net5 announcementsDotnetConf - Cloud native and .Net5 announcements
DotnetConf - Cloud native and .Net5 announcements
 
FRAUD DETECTION IN ONLINE AUCTIONING
FRAUD DETECTION IN ONLINE AUCTIONINGFRAUD DETECTION IN ONLINE AUCTIONING
FRAUD DETECTION IN ONLINE AUCTIONING
 
Scaling your Automated Tests: Docker and Kubernetes
Scaling your Automated Tests: Docker and KubernetesScaling your Automated Tests: Docker and Kubernetes
Scaling your Automated Tests: Docker and Kubernetes
 
JCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxJCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptx
 
2020-02-10 Java on Azure Solution Briefing
2020-02-10 Java on Azure Solution Briefing2020-02-10 Java on Azure Solution Briefing
2020-02-10 Java on Azure Solution Briefing
 
Development Process Optimization Using Docker. Based on a True Story
Development Process Optimization Using Docker. Based on a True StoryDevelopment Process Optimization Using Docker. Based on a True Story
Development Process Optimization Using Docker. Based on a True Story
 
Selenium training-course-content-syllabus-credo systemz
Selenium training-course-content-syllabus-credo systemzSelenium training-course-content-syllabus-credo systemz
Selenium training-course-content-syllabus-credo systemz
 
Accelerate Application Innovation Journey with Azure Kubernetes Service
Accelerate Application Innovation Journey with Azure Kubernetes Service Accelerate Application Innovation Journey with Azure Kubernetes Service
Accelerate Application Innovation Journey with Azure Kubernetes Service
 
Test automation proposal
Test automation proposalTest automation proposal
Test automation proposal
 
Busy developer-html5-javaee7
Busy developer-html5-javaee7Busy developer-html5-javaee7
Busy developer-html5-javaee7
 
What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5What's new in Portal and WCM 8.5
What's new in Portal and WCM 8.5
 

watir-webdriver

  • 2. Agenda  Tools & Technologies  Overview Of Technologies Used  Why Watir?  Framework Architecture  Framework Features  Framework Workflow  Comparison Analysis  What's next in Phase II  Questions & Feedback
  • 3. Tools & Technologies  Ruby 1.9.3 and following Gems:  Watir-webdriver  Cucumber  Development IDE (Eclipse version 3.x)  CI Tool (Jenkins)  Selenium Grid version 2.42.x .  JDK latest
  • 4. Overview Of Technologies Used  Ruby: Simple and easy to learn language.  Watir Webdriver – This provides simplicity of Watir along with advance WebDriver functionality.  Cucumber: Providing Behaviour Development Driven framework, i.e. Writing scripts in plain language.  Cucumber allows reporting in HTML and JSON (JavaScript Object Notation).  Cucumber makes parallel execution and reporting more simple.  Selenium Grid provides option to execute suite remotely.  Jenkins implementation for scheduling and email notification.
  • 5. Why Watir?  WATIR is wrapped around Selenium-webdriver with added functions known as Watir-Webdriver.  Watir automatically waits for the page to finish loading.  Watir is open source and Watir community is growing strong.  Cucumber has perfect match with Watir-webDriver, which in turn result in faster script creation using BDD framework approach.  Watir’s API is easier to use and has more features whereas in Selenium every web component is web-element.  Watir-webdriver code is more understandable and readable, as it is written in Ruby language.
  • 7. Framework Features S.No Features Status 1 Runs on Chrome, Firefox and Internet Explorer.  2 High maintainability with Page object model embedded in Cucumber.  3 Screen-shot on failure.  4 Archiving the previous results.  5 Parallel execution locally or remotely.  6 Re-execution logic.  7 Scheduling with CI tool.  8 Email notification with attached HTML report.  9 Sauce Labs Integration. 
  • 9. Comparison Analysis   Watir-Webdriver Selenium- Webdriver QTP Test  Complete  Language  easiness Easy Script Creation Complex Script Creation VBScript is easy Good programming  IDE No IDE, uses eclipse plug-in No IDE, uses eclipse plug-in Has its own IDE Has its own IDE  OS  Supported Windows/ Mac/ Linux Windows/ Mac/ Linux Windows Windows  Record And  Play Yes (Watir Recorder ++) Yes Yes Yes Execution  Speed Fast Speed can be adjusted Fast Medium  Licence Cost  Open-Source Open-Source Paid Paid