Keyword Driven Framework using WATIR
Upcoming SlideShare
Loading in...5
×
 

Keyword Driven Framework using WATIR

on

  • 14,844 views

Presented in Stepin conference, Bangalore.

Presented in Stepin conference, Bangalore.

Statistics

Views

Total Views
14,844
Views on SlideShare
14,792
Embed Views
52

Actions

Likes
6
Downloads
600
Comments
3

2 Embeds 52

http://www.slideshare.net 42
http://www.e-presentations.us 10

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Keyword Driven Framework using WATIR Keyword Driven Framework using WATIR Presentation Transcript

    • 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 ?