Андрей Дзыня - "Watir - начало"

1,169 views

Published on

Область автоматизации web-приложений переживает бурный рост. Самый популярный инструмент это Selenium, который занимает большую часть рынка. Но не стоит забывать, что существуют и другие инструменты, которые помогают автоматизировать функциональное тестирование.

Мой доклад будет более практический, чем теоретический. Я расскажу об инструменте Watir, как его использовать, и напишу несколько простых тестов разными способами:
Ruby Application;
Test Unit;
Rspec;
Cucumber;

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,169
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Андрей Дзыня - "Watir - начало"

  1. 1. Watir – The Beginning AUTOMATED- TESTING.INFO
  2. 2. About Myself Andrii Dzynia Senior Automation QA Engineer andrii.dzynia@gmail.com2 AUTOMATED- TESTING.INFO
  3. 3. Agenda Question Watir Example3 AUTOMATED- TESTING.INFO
  4. 4. Problem Automated testing of web applications4 AUTOMATED- TESTING.INFO
  5. 5. How we could solve it? Watij Win32-Watir Watir WatiN Watir Selenium5 AUTOMATED- TESTING.INFO
  6. 6. What is it? • Watir – pronounced like “Water” • Web application testing in Ruby • Open-source • Lovely API • Running without browser • A lot of forks6 AUTOMATED- TESTING.INFO
  7. 7. How it works?7 AUTOMATED- TESTING.INFO
  8. 8. What is main advantage?8 AUTOMATED- TESTING.INFO
  9. 9. Record & Play ?9 AUTOMATED- TESTING.INFO
  10. 10. This is for noobs10 AUTOMATED- TESTING.INFO
  11. 11. What is professional way?11 AUTOMATED- TESTING.INFO
  12. 12. 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 AUTOMATED- TESTING.INFO
  13. 13. Web Application To Test13 AUTOMATED- TESTING.INFO
  14. 14. First step • IRB - Interactive Ruby Shell • Drive the browser • Some features14 AUTOMATED- TESTING.INFO
  15. 15. Scenario Add gifs Open Go to gifts homepage page15 AUTOMATED- TESTING.INFO
  16. 16. Nice but not scalable?16 AUTOMATED- TESTING.INFO
  17. 17. TestUnit – xUnit tool17 AUTOMATED- TESTING.INFO
  18. 18. Scenario Add customer Go to customers Open homepage page18 AUTOMATED- TESTING.INFO
  19. 19. What about Business Users?19 AUTOMATED- TESTING.INFO
  20. 20. How BDD fits with Ruby?20 AUTOMATED- TESTING.INFO
  21. 21. Rspec library21 AUTOMATED- TESTING.INFO
  22. 22. Cucumber In three words •Given •When •Then22 AUTOMATED- TESTING.INFO
  23. 23. What we have seen today • Validation method • xUnit style • BDD: Rspec and Cucumber23 AUTOMATED- TESTING.INFO
  24. 24. Choose exactly what you need “Life is a series of choices.”24 AUTOMATED- TESTING.INFO
  25. 25. 25 AUTOMATED- TESTING.INFO

×