SlideShare a Scribd company logo
Keyword Driven Framework using WATIR - Nivetha (nivetha@thoughtworks.com) - Sripad (sripad@thoughtworks.com)
AGENDA Key Word Driven Framework How, Why, What Q & A
INTRODUCTION Test Automation Framework will reduce the amount of scripting required. Test Automation Framework will accommodate changes with minimum effort.
About Agile Changes in requirements are encouraged Development will be done in Iterations Follows Test Driven Development Follows Continuous Integration process
Types of automation Record and playback Data Driven Keyword Driven Hybrid
Keyword Driven Framework
Architecture .txt Suite Variables file Processing inputs Core Engine Library Functions Customised Results Log Files
Sample Input File aka Test case .txt
Suite
Core Engine
Processing inputs
Library Functions
Customised Results
Customised Results
Approach Project Specific Keywords General Keywords Data Files Object mapping Cost Factor Technical feasibility Results Coding Standards Identify Keywords Develop Core Engine Structure input files Choose the tool
WATIR
About WATIR W eb  A pplication  T esting  I n  R uby WATIR development is led by Bret Pettichord and Paul Rogers O pen-source functional testing tool
About WATIR WATIR is a Ruby library that works with IE on Windows Tests can be run in the background Scripting is simple
Advantages The tester need only learn the "Key Words" required  The Detail Test Cases can be written in Spreadsheet  format containing all input and verification data   Easier to write acceptance tests Transfer of knowledge is easier   Easier to report bugs, copy from the input file and  paste in Bug Reporting tool Application independent
Disadvantages Initial time and effort  to develop the framework  WATIR does not support plug in applications like Java Applet, Macromedia Flash. WATIR works only on IE Finding reference (name, id, value) to objects (text fields, buttons) may be tedious
WATIR   Tutorial –http://wtr.rubyforge.org/s101/doc/ API Reference –http://wtr.rubyforge.org/rdoc/index.html Home Page –http://wtr.rubyforge.org Mailing list – wtr-general@rubyforge.org Ruby  Home Page – http://www.ruby-lang.org/en Discussion Forum -http://rubyforge.org/forum/forum.php?forum_id=958 Tools Supporting WATIR  Recorder - WatirMaker - http://www.hanselman.com/blog/IntroducingWatirMakerRecordingForRubybasedWatir.aspx Other Tools supporting WATIR - http://wiki.openqa.org/display/WTR/Tools+Supporting+Watir References
Questions ?

More Related Content

PPT
Watir Presentation Sumanth Krishna. A
PPT
Introduction To Ruby Watir (Web Application Testing In Ruby)
PPT
What you can do In WatiR
PPT
Automated Testing With Watir
DOC
Selenium Automation Using Ruby
PDF
watir-webdriver
PDF
Introduction to Selenium and Ruby
PDF
How To Use Selenium Successfully
Watir Presentation Sumanth Krishna. A
Introduction To Ruby Watir (Web Application Testing In Ruby)
What you can do In WatiR
Automated Testing With Watir
Selenium Automation Using Ruby
watir-webdriver
Introduction to Selenium and Ruby
How To Use Selenium Successfully

What's hot (20)

PDF
Selenium Best Practices with Jason Huggins
PDF
How to Use Selenium, Successfully
PDF
Join the darkside: Selenium testing with Nightwatch.js
PDF
Selenium Tips & Tricks, presented at the Tel Aviv Selenium Meetup
PDF
Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...
PDF
Practical Tips & Tricks for Selenium Test Automation - Dave Haeffner
PDF
Building testable chrome extensions
PDF
Automation Testing using Selenium Webdriver
PDF
Test-driven Development with Drupal and Codeception (DrupalCamp Brighton)
PDF
Selenium Overview
PPTX
Browser Automated Testing Frameworks - Nightwatch.js
PDF
Introduction To Web Application Testing
PDF
jQuery Proven Performance Tips & Tricks
PDF
Getting Started with Selenium
PDF
Selenium 2 - PyCon 2011
PPTX
Angular UI Testing with Protractor
PDF
Selenium - The page object pattern
PPTX
An Introduction to AngularJS End to End Testing using Protractor
PPTX
An overview of selenium webdriver
PPTX
Automated Smoke Tests with Protractor
Selenium Best Practices with Jason Huggins
How to Use Selenium, Successfully
Join the darkside: Selenium testing with Nightwatch.js
Selenium Tips & Tricks, presented at the Tel Aviv Selenium Meetup
Mastering UI automation at Scale: Key Lessons and Best Practices (By Fernando...
Practical Tips & Tricks for Selenium Test Automation - Dave Haeffner
Building testable chrome extensions
Automation Testing using Selenium Webdriver
Test-driven Development with Drupal and Codeception (DrupalCamp Brighton)
Selenium Overview
Browser Automated Testing Frameworks - Nightwatch.js
Introduction To Web Application Testing
jQuery Proven Performance Tips & Tricks
Getting Started with Selenium
Selenium 2 - PyCon 2011
Angular UI Testing with Protractor
Selenium - The page object pattern
An Introduction to AngularJS End to End Testing using Protractor
An overview of selenium webdriver
Automated Smoke Tests with Protractor
Ad

Viewers also liked (9)

PDF
Watir web automated tests
PPT
Watir
PPTX
Selenium Webdriver
PDF
Functional testing the_good_the_bad_and_the_ugly
DOC
Hybrid framework for test automation
PDF
Test Automation Framework Design | www.idexcel.com
PDF
Automation Testing using Selenium
PPT
Selenium ppt
PPT
Test Automation Framework Designs
Watir web automated tests
Watir
Selenium Webdriver
Functional testing the_good_the_bad_and_the_ugly
Hybrid framework for test automation
Test Automation Framework Design | www.idexcel.com
Automation Testing using Selenium
Selenium ppt
Test Automation Framework Designs
Ad

Similar to Keyword Driven Framework using WATIR (20)

PPTX
Watir - The Beginning
PPTX
Watir The Beginning
PDF
Automation Open Source tools
PPTX
Test Automation using Ruby
PPT
Test Automation using Ruby, Watir, Rspec and AutoIT for GAMESCALE products te...
PPT
Jonas Skjoldan - Automatic GUI test with Ruby and Watir
PDF
Exploring No Mans Land with Keyword-Driven Testing
PPT
watir-webdriver
PPT
Test Automation Best Practices (with SOA test approach)
PPTX
Agile Software Development with Intrinsic Quality
PDF
Choosing right-automation-tool
PPT
Whats In Your QA Tool Belt?
PPTX
Cross Browser Automation Testing Using Watir
PDF
Introduction to Test Automation
PDF
Fitnesse, Watir and Ruby Based Test Automation System
PPT
Test automation in agile ecosystem
PPT
Test Automation Frameworks Final
PDF
Automated software testing
PPT
Fire Watir Script Generator Barcamp
PPTX
Андрей Дзыня - "Watir - начало"
Watir - The Beginning
Watir The Beginning
Automation Open Source tools
Test Automation using Ruby
Test Automation using Ruby, Watir, Rspec and AutoIT for GAMESCALE products te...
Jonas Skjoldan - Automatic GUI test with Ruby and Watir
Exploring No Mans Land with Keyword-Driven Testing
watir-webdriver
Test Automation Best Practices (with SOA test approach)
Agile Software Development with Intrinsic Quality
Choosing right-automation-tool
Whats In Your QA Tool Belt?
Cross Browser Automation Testing Using Watir
Introduction to Test Automation
Fitnesse, Watir and Ruby Based Test Automation System
Test automation in agile ecosystem
Test Automation Frameworks Final
Automated software testing
Fire Watir Script Generator Barcamp
Андрей Дзыня - "Watir - начало"

More from Nivetha Padmanaban (9)

PPT
Sahi Conference
PPT
Agile Testing Vs V
PPT
Test Planning
PPT
Introduction
PPT
Introducing Agile
PPT
Black Box Testing
PPT
Automation With A Tool Demo
PPT
Agile Testing Vs V
PPT
White Box Testing V0.2
Sahi Conference
Agile Testing Vs V
Test Planning
Introduction
Introducing Agile
Black Box Testing
Automation With A Tool Demo
Agile Testing Vs V
White Box Testing V0.2

Recently uploaded (20)

PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
DOCX
Business Management - unit 1 and 2
PDF
Unit 1 Cost Accounting - Cost sheet
PDF
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
PPT
340036916-American-Literature-Literary-Period-Overview.ppt
PPTX
ICG2025_ICG 6th steering committee 30-8-24.pptx
PDF
MSPs in 10 Words - Created by US MSP Network
PDF
A Brief Introduction About Julia Allison
PPTX
Amazon (Business Studies) management studies
PDF
Deliverable file - Regulatory guideline analysis.pdf
PPT
Data mining for business intelligence ch04 sharda
PDF
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
PDF
Nidhal Samdaie CV - International Business Consultant
DOCX
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
PDF
Power and position in leadershipDOC-20250808-WA0011..pdf
PPTX
Probability Distribution, binomial distribution, poisson distribution
PPTX
5 Stages of group development guide.pptx
PDF
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
PPTX
The Marketing Journey - Tracey Phillips - Marketing Matters 7-2025.pptx
PDF
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
Business Management - unit 1 and 2
Unit 1 Cost Accounting - Cost sheet
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
340036916-American-Literature-Literary-Period-Overview.ppt
ICG2025_ICG 6th steering committee 30-8-24.pptx
MSPs in 10 Words - Created by US MSP Network
A Brief Introduction About Julia Allison
Amazon (Business Studies) management studies
Deliverable file - Regulatory guideline analysis.pdf
Data mining for business intelligence ch04 sharda
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
Nidhal Samdaie CV - International Business Consultant
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
Power and position in leadershipDOC-20250808-WA0011..pdf
Probability Distribution, binomial distribution, poisson distribution
5 Stages of group development guide.pptx
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
The Marketing Journey - Tracey Phillips - Marketing Matters 7-2025.pptx
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...

Keyword Driven Framework using WATIR

  • 1. Keyword Driven Framework using WATIR - Nivetha (nivetha@thoughtworks.com) - Sripad (sripad@thoughtworks.com)
  • 2. AGENDA Key Word Driven Framework How, Why, What Q & A
  • 3. INTRODUCTION Test Automation Framework will reduce the amount of scripting required. Test Automation Framework will accommodate changes with minimum effort.
  • 4. About Agile Changes in requirements are encouraged Development will be done in Iterations Follows Test Driven Development Follows Continuous Integration process
  • 5. Types of automation Record and playback Data Driven Keyword Driven Hybrid
  • 7. Architecture .txt Suite Variables file Processing inputs Core Engine Library Functions Customised Results Log Files
  • 8. Sample Input File aka Test case .txt
  • 15. Approach Project Specific Keywords General Keywords Data Files Object mapping Cost Factor Technical feasibility Results Coding Standards Identify Keywords Develop Core Engine Structure input files Choose the tool
  • 16. WATIR
  • 17. About WATIR W eb A pplication T esting I n R uby WATIR development is led by Bret Pettichord and Paul Rogers O pen-source functional testing tool
  • 18. About WATIR WATIR is a Ruby library that works with IE on Windows Tests can be run in the background Scripting is simple
  • 19. Advantages The tester need only learn the "Key Words" required The Detail Test Cases can be written in Spreadsheet format containing all input and verification data Easier to write acceptance tests Transfer of knowledge is easier Easier to report bugs, copy from the input file and paste in Bug Reporting tool Application independent
  • 20. Disadvantages Initial time and effort to develop the framework WATIR does not support plug in applications like Java Applet, Macromedia Flash. WATIR works only on IE Finding reference (name, id, value) to objects (text fields, buttons) may be tedious
  • 21. WATIR Tutorial –http://wtr.rubyforge.org/s101/doc/ API Reference –http://wtr.rubyforge.org/rdoc/index.html Home Page –http://wtr.rubyforge.org Mailing list – wtr-general@rubyforge.org Ruby Home Page – http://www.ruby-lang.org/en Discussion Forum -http://rubyforge.org/forum/forum.php?forum_id=958 Tools Supporting WATIR Recorder - WatirMaker - http://www.hanselman.com/blog/IntroducingWatirMakerRecordingForRubybasedWatir.aspx Other Tools supporting WATIR - http://wiki.openqa.org/display/WTR/Tools+Supporting+Watir References