Web automation with Selenium for software engineers

  • 1,196 views
Uploaded 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 …

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.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,196
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
0
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Web automation with Selenium for software engineers Mikalai Alimenkou http://xpinjection.com @xpinjection
  • 2. WebDriver – is not a testing automation tool Uses browser Manual testing WebDriver commands
  • 3. How WebDriver works Open browser Locators Data Send commands to the browser
  • 4. Easy browser management
  • 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. #1. Ad hoc regression testing We have requirements Developers afraid of bugs on code changes Somebody uses product Browser
  • 7. #2. Bugs description = Manual bug description WebDriver bug description
  • 8. #3. Automate boring procedures
  • 9. #4. Demo presentations
  • 10. #5. Social networks ‘life’
  • 11. in development depends on how tools usage
  • 12. @xpinjection http://xpinjection.com mikalai.alimenkou@xpinjection.com