KEMBAR78
Web automation with Selenium for software engineers | PPTX
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='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
#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