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
Selenium Tutorial for Beginners | Automation framework Basics
PPTX
Robot framework Gowthami Goli
PPTX
Whats New In 2010 (Msdn & Visual Studio)
PPT
Cost effective web application testing
PPT
Cost Effective Web Application Testing
PPT
Cost effective web application testing
PPTX
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools
PPT
10071756.ppt
PPT
Codeigniter
PDF
automation framework
PPT
QTP&UFT Automation Framework
PPT
Testing Mozilla Web Properties
PPT
Test Automation Best Practices (with SOA test approach)
PPT
Whats In Your QA Tool Belt?
PPTX
A Thin Automation Framework for Manageable Automated Acceptance Testing
PPTX
Real-Time Web Applications with ASP.NET WebAPI and SignalR
PPTX
Tfs Overview
PPTX
Bdd test automation analysis
PDF
Choosing right-automation-tool
PPT
Test Automation Frameworks Final
Selenium Tutorial for Beginners | Automation framework Basics
Robot framework Gowthami Goli
Whats New In 2010 (Msdn & Visual Studio)
Cost effective web application testing
Cost Effective Web Application Testing
Cost effective web application testing
HDC 2010 - Creating Quality Software: A Look at Visual Studio 2010 Testing Tools
10071756.ppt
Codeigniter
automation framework
QTP&UFT Automation Framework
Testing Mozilla Web Properties
Test Automation Best Practices (with SOA test approach)
Whats In Your QA Tool Belt?
A Thin Automation Framework for Manageable Automated Acceptance Testing
Real-Time Web Applications with ASP.NET WebAPI and SignalR
Tfs Overview
Bdd test automation analysis
Choosing right-automation-tool
Test Automation Frameworks Final

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
Reconciliation AND MEMORANDUM RECONCILATION
DOCX
unit 1 COST ACCOUNTING AND COST SHEET
PDF
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
PPTX
Probability Distribution, binomial distribution, poisson distribution
PDF
DOC-20250806-WA0002._20250806_112011_0000.pdf
PDF
Ôn tập tiếng anh trong kinh doanh nâng cao
PPTX
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
PDF
Laughter Yoga Basic Learning Workshop Manual
DOCX
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
PDF
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
PPT
Chapter four Project-Preparation material
PDF
Roadmap Map-digital Banking feature MB,IB,AB
PDF
IFRS Notes in your pocket for study all the time
PDF
A Brief Introduction About Julia Allison
PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
PPTX
HR Introduction Slide (1).pptx on hr intro
PDF
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
PDF
Power and position in leadershipDOC-20250808-WA0011..pdf
PPTX
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
PDF
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
Reconciliation AND MEMORANDUM RECONCILATION
unit 1 COST ACCOUNTING AND COST SHEET
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
Probability Distribution, binomial distribution, poisson distribution
DOC-20250806-WA0002._20250806_112011_0000.pdf
Ôn tập tiếng anh trong kinh doanh nâng cao
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
Laughter Yoga Basic Learning Workshop Manual
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
Chapter four Project-Preparation material
Roadmap Map-digital Banking feature MB,IB,AB
IFRS Notes in your pocket for study all the time
A Brief Introduction About Julia Allison
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
HR Introduction Slide (1).pptx on hr intro
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
Power and position in leadershipDOC-20250808-WA0011..pdf
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...

Keyword Driven Framework using WATIR

  • 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 – [email protected] 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