Watir Osdc Lightning Talk

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite & 1 Event

    Watir Osdc Lightning Talk - Presentation Transcript

    1. watir w eb a pplication t esting i n r uby @alisterscott
    2. watir: web testing that doesn't suck
      • automated web testing ruby library (BSD)  w/
      •   active and friendly open source community
      • good for UAT: drives actual browsers:
      • supports IE (DOM) & Firefox (JSSh) + SafariWatir
      • other flavours: WatiN & WatiJ
      •  
      • clean API: easy to learn
      •  
      • no server side components needed (unlike selenium)
      •  
      • used by google (maps), yahoo! (mail), gap inc...
      •  
    3. a simple script
      • require "watir" test_site = "http://www.google.com" b = Watir::Browser.new b.goto test_site b.text_field(:name, "q").set "OSDC" b.button(:name, "btnG").click if b.text.include? "Open Source Developers' Conference"
      • puts "Test Passed"
      • else
      • puts "Test Failed!"
      • end
    4. watir: web testing that doesn't suck
      •   can use irb and firebug to develop scripts
      • can create multi-threaded scripts
      •  
      • uses real browsers but can run 'invisible'
      •  
      • can use w/ rspec, cucumber, faucets (fitnesse)
      • can use on any website: realestate.com.au
      • (disable images)
      • really good at sync; can test ajax
      •  
    5. watir: more info
      • http://wtr.rubyforge.org/
      • google group: watir-general
      • jira (bugs) and confluence (doco)
      •  
      me: more info watirmelon.wordpress.com   twitter.com/alisterscott   www.linkedin.com/in/alisterscott  

    + Alister ScottAlister Scott, 11 months ago

    custom

    916 views, 1 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 916
      • 916 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 23
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events