Upload
rubytester-testrus
View
2.429
Download
2
Tags:
Embed Size (px)
DESCRIPTION
Watir Day 2011 presentation at Selenium Conf in San Francisco April 3rd, 2011
Citation preview
Domain Specific
Watir Page Objects
@rubytester
What is this talk about?
The idea is to show you how page objects take
care of all the Watir implementation so you
don’t have to -- and how you as a tester can
concentrate on your test case and test data
and let page objects deal with pages
Testing First
Let’s support the concept of testing first.
Develop tests in the language of your specific
domain rather than the language of your
implementation
Start with Watir
Test Vocabulary
Page Mapping
Test Data
Mapping Data To Page Elements
Add :phone element
Implementation of :phone changed
Composing With Watir Objects
Domain Specific Object Example
CheckboxTextField
DateSelector
DateTimeSelector
Date and Time
CheckboxDateTimeSelector
Thank You
www.rubytester.com
http://github.com/marekj/watirloo