Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Watir The Beginning

2,319 views

Published on

Как научиться автоматизировать на Watir, что нужно использовать и как.

Published in: Technology
  • Be the first to comment

Watir The Beginning

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

×