Web automation with
Selenium for software
engineers
Mikalai Alimenkou
http://xpinjection.com
@xpinjection
WebDriver – is not a testing
automation tool
Uses browser
Manual testing WebDriver
commands
How WebDriver works
Open
browser
Locators
Data
Send commands to
the browser
Easy browser management
driver.findElement(By.xpath("//input[@id=(//label[tex
t()='Fax']/@for)]")).click();
driver.findElement(By.xpath("//div[@id...
#1. Ad hoc regression testing
We have
requirements
Developers afraid
of bugs on code
changes
Somebody uses product
Browser
#2. Bugs description
=
Manual bug
description
WebDriver
bug description
#3. Automate boring procedures
#4. Demo presentations
#5. Social networks ‘life’
in development
depends on how
tools usage
@xpinjection
http://xpinjection.com
mikalai.alimenkou@xpinjection.com
Web automation with Selenium for software engineers
Upcoming SlideShare
Loading in...5
×

Web automation with Selenium for software engineers

2,075

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
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,075
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
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

×