Web automation with Selenium for software engineers

2,931 views
2,725 views

Published on

We all know Selenium/WebDriver more as testing automation tool. But in reality this is just a tool/library to automate operations with different browsers using similar API from different languages. In this talk I will show how to use different parts of Selenium product family for day to day tasks of developer, QA engineer or even Project Manager. Hope after visiting this talk you will spend less time on boring procedures and improve many things in your current development process.

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

No Downloads
Views
Total views
2,931
On SlideShare
0
From Embeds
0
Number of Embeds
165
Actions
Shares
0
Downloads
0
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Web automation with Selenium for software engineers

  1. 1. Web automation with Selenium for software engineers Mikalai Alimenkou http://xpinjection.com @xpinjection
  2. 2. WebDriver – is not a testing automation tool Uses browser Manual testing WebDriver commands
  3. 3. How WebDriver works Open browser Locators Data Send commands to the browser
  4. 4. Easy browser management
  5. 5. driver.findElement(By.xpath("//input[@id=(//label[tex t()='Fax']/@for)]")).click(); driver.findElement(By.xpath("//div[@id='App']/div/p[4]/di v[1]/h4[@class='Online']")).getText() What is going on here? Depends too much on page structure! Main WebDriver issues
  6. 6. #1. Ad hoc regression testing We have requirements Developers afraid of bugs on code changes Somebody uses product Browser
  7. 7. #2. Bugs description = Manual bug description WebDriver bug description
  8. 8. #3. Automate boring procedures
  9. 9. #4. Demo presentations
  10. 10. #5. Social networks ‘life’
  11. 11. in development depends on how tools usage
  12. 12. @xpinjection http://xpinjection.com mikalai.alimenkou@xpinjection.com

×