Domain Specific Watir Page Objects

2,857 views
2,646 views

Published on

Watir Day 2011 presentation at Selenium Conf in San Francisco April 3rd, 2011

1 Comment
2 Likes
Statistics
Notes
  • I like your examples of using composition for custom page elements.. Nice demonstration how to avoid test change when implementation changes but functionality stays the same.. Overall I find this very inspirative!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
2,857
On SlideShare
0
From Embeds
0
Number of Embeds
145
Actions
Shares
0
Downloads
44
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Domain Specific Watir Page Objects

  1. 1. Domain SpecificWatir Page Objects @rubytester
  2. 2. 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
  3. 3. 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
  4. 4. Start with Watir
  5. 5. Test Vocabulary
  6. 6. Page Mapping
  7. 7. Test Data
  8. 8. Mapping Data To Page Elements
  9. 9. Add :phone element
  10. 10. Implementation of :phone changed
  11. 11. Composing With Watir Objects
  12. 12. Domain Specific Object Example
  13. 13. CheckboxTextField
  14. 14. DateSelector
  15. 15. DateTimeSelectorDate and Time
  16. 16. CheckboxDateTimeSelector
  17. 17. Thank You www.rubytester.comhttp://github.com/marekj/watirloo

×