Web UI testing automation and Selenium Tomas Červinskis 2016 – 12 – 14
Overview Automated Web UI Tests overview Reasons to use Scenario selection considerations Selenium Maintainability Issues
Web UI tests overview
Tests Overview
Overall test suite
Why?
Priority for Web UI tests
Selenium Automates browsers Simulates a human interacting – button clicks, typing text etc. Selenium IDE Record automation test scripts Playback scripts Edit scripts
Selenium Web driver Code based More maintainable Full power of programming languages
Selenium Web driver test example
Maintainability
Page Object Models
Page Object Models
Issues Data consistency ? Changes in UI ? Who writes them – developer or tester ? Other ?
Questions 2016 – 12 – 14