Your SlideShare is downloading. ×
  • Like
  • Save
Watir - The Beginning
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Watir - The Beginning

  • 596 views
Published

Introduction to Web automation using Watir

Introduction to Web automation using Watir

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
596
On SlideShare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Watir– The Beginning
    1
  • 2. 2
    About Myself
    Andrii Dzynia
    Senior Automation QA Engineer
    andrii.dzynia@gmail.com
    2
  • 3. Agenda
    3
  • 4. Problem
    Automated testing of web applications
    4
  • 5. How we could solve it?
    5
    Watij
    Win32-Watir
    Watir
    Watir
    WatiN
    Selenium
  • 6. What is it?
    Watir – pronounced like “Water”
    Web application testing in Ruby
    Open-source
    Lovely API
    Running without browser
    A lot of forks
    6
  • 7. How it works?
    7
  • 8. What is main advantage?
    8
  • 9. Record & Play ?
    9
  • 10. This is for noobs
    10
  • 11. What is professional way?
    11
  • 12. So what we will do today?
    Test ‘Point of Sale’ PHP web application.
    Write Watir automated tests in different styles.
    Define benefits of each style.
    12
  • 13. Web Application To Test
    13
  • 14. First step
    IRB - Interactive Ruby Shell
    Drive the browser
    Some features
    14
  • 15. Scenario
    15
  • 16. Nice but not scalable?
    16
  • 17. TestUnit – xUnittool
    17
  • 18. Scenario
    18
  • 19. What about Business Users?
    19
  • 20. How BDD fits with Ruby?
    20
  • 21. Rspec library
    21
  • 22. Cucumber
    22
  • 23. What we have seen today
    Validation method
    xUnit style
    BDD: Rspec and Cucumber
    23
  • 24. Choose exactly what you need
    24
    “Life is a series of choices.”
  • 25. AUTOMATED-TESTING.INFO
    25