Watir– The Beginning1
2	     About MyselfAndrii DzyniaSenior Automation QA Engineerandrii.dzynia@gmail.com2
Agenda3
Problem    Automated testing of web applications4
How we could solve it?5WatijWin32-WatirWatirWatirWatiNSelenium
What is it?Watir – pronounced like “Water”Web application testing in RubyOpen-sourceLovely APIRunning without browserA lot of forks6
How it works?7
What is main advantage?8
Record & Play ?9
This is for noobs10
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 Test13
First stepIRB - Interactive Ruby ShellDrive the browserSome features14
Scenario15
Nice but not scalable?16
TestUnit – xUnittool 17
Scenario18
What about Business Users?19
How BDD fits with Ruby?20
Rspec library21
Cucumber22
What we have seen todayValidation methodxUnit styleBDD: Rspec and Cucumber23
Choose exactly what you need24   “Life is a series of choices.”
	       AUTOMATED-TESTING.INFO25

Watir - The Beginning