Domain Specific Watir Page Objects
-
Upload
rubytester-testrus -
Category
Documents
-
view
2.437 -
download
2
description
Transcript of Domain Specific Watir Page Objects
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