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