Selenium as a trend

3,169 views

Published on

Selenium as a trend

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

  • Be the first to like this

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

No notes for slide

Selenium as a trend

  1. 1. Selenium as a trendin test automation - traps to avoid Nataliya Holodiuk
  2. 2. Will talk about1. Tool choice2. One project experience3. Traps to be aware of
  3. 3. CONFUSED?
  4. 4. What?
  5. 5. How?
  6. 6. Return of investments?
  7. 7. Got some trendy tools?
  8. 8. Selenium + many browsers & OS + directly in the browser + JAVA, Ruby, Python, etc + comprehensible docs + communities
  9. 9. One project story
  10. 10. Givenecommerce web application written in PHP tests in Java with Selenium IDE + Jenkins(Hudson) CI
  11. 11. RC
  12. 12. Page Object Pattern
  13. 13. Trend victims
  14. 14. Fail ?• 85% of time - test suite maintenance• new feature breaks up to 50% of tests• spent time and efforts != expected result• QAs demoralized• big boss unhappy
  15. 15. Fail!good tool != great results Classic mistake # 1
  16. 16. 100% automationcomplete coverage != bug free product Classic mistake # 2
  17. 17. UI tests only Classic mistake # 3
  18. 18. Late automation Interdependent testsAutomation as a way to find bugs Another classic mistakes
  19. 19. BDDGiven I visit “http://google.com”When I type “DELL” in “SearchField”And I press “Search”Then I should see “www.dell.ua” in search results
  20. 20. Why better?● clear aims, plan that is easy to follow● acceptance tests – user scenarios automated● tests on PHP – developers involved● using app methods to create preconditions
  21. 21. Even more better?● new tests are written before feature committed● green build rule● more than 1000 effective stable maintainable tests in 5 months● less time spent on suite support
  22. 22. One size doesn’t fit all
  23. 23. Any questions?natali.holodiuknatali.holodiuk@gmail.com
  24. 24. Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better. Samuel Beckett

×