• Save
Watir - The Beginning
Upcoming SlideShare
Loading in...5
×
 

Watir - The Beginning

on

  • 754 views

Introduction to Web automation using Watir

Introduction to Web automation using Watir

Statistics

Views

Total Views
754
Views on SlideShare
751
Embed Views
3

Actions

Likes
0
Downloads
1
Comments
0

2 Embeds 3

http://www.linkedin.com 2
http://www.docshut.com 1

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

Watir - The Beginning Watir - The Beginning Presentation Transcript

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