- Understand the key principles of test automation using Selenium WebDriver
- Understand how to structure your automated testing including the Page Object Model
- Understand how to manage Object Recognition using techniques such as XPath and CSS
- By the end of the course, you should have a thorough understanding of how to develop reliable, robust Selenium Web Tests using the Selenium WebDriver and other tools
Installation & Setup
How to install Selenium WebDriver Java, JUnit, Eclipse, and other useful tools. How to organise your file structure.
Introduction to Java (Optional)
Basic introduction to the Java programming language and OOP.
How to write a simple automation script in WebDriver within a standard java Class.
Element locator strategies, using simple techiques.
Object Identification using CSS & XPath
More complex locator strategies using CSS & XPath notation.
Synchronisation & Debugging
Implicit and Explicit Waits explained, debugging your test scripts.
WebDriver with JUnit
Overview of the JUNIT keywords.
Using the correct WebDriver methods.
Using the correct validation techniques.
Using JUnit Test Suites.
Helpers & Base Classes
Code re-use through Helper Methods and Base Classes.
Introducing Page Objects (POM)
Introduction to why we do it and how it makes life easier. Refactoring our tests to use a page object model. Developing a library of pages.
In-line and external data sources, data-driving your tests.
Screenshots, Using ANT Reports, Using 3rd party reporting tools.
Cross-Browser & Selenium Server
Executing tests remotely using Selenium Server/Grid, Cross-Browser Testing
Command-line execution, Integration with source control (GIT), integration with Jenkins, and automating Test execution.