Advanced Selenium: Support Classes

Advanced Selenium: Support Classes

2h 4mAdvanced2019-09-04

Authors

Alan Richardson

Alan Richardson

Consultant specializing in agile software testing and development

Course details

Make your automated execution code more robust using support classes within Selenium WebDriver. In this course, instructor Alan Richardson takes a deep dive into Selenium WebDriver, explaining how support classes can make updating and maintaining your test code much easier. Alan explains how to create element abstractions, which can represent common HTML elements to make them easier to work with. He digs into state and element synchronization, explaining how concepts such as WebDriverWait can help you ensure that your tests are more robust when they execute. Plus, learn about locators, page objects, EventFiringWebDriver, and more.

Learning objectives
What are the support classes?
Writing your own element extraction
Creating locators
State and element synchronization
Ajax and default locator strategies
The SlowLoadableComponent class
Logging with EventFiringWebDriver

Skills covered

SeleniumSoftware TestingAdvancedOpen SourceSoftware Development

Concepts

Introduction

  • The best-kept secret in WebDriver
  • What you should know

Overview

  • What are the support classes
  • Quick wins

Element Abstractions

  • What is an element abstraction
  • Creates your own element abstractions

Locators

  • What are locators
  • Create your locators

State and Element Synchronization

  • What is synchronization
  • Expected conditions
  • FluentWait - Waiting for anything

Page Objects with PageFactory

  • What is a page object
  • What is PageFactory
  • Ajax and default locator strategies
  • PageFactory pros and cons
  • Loadable components
  • Slow loadable components

Logging with EventFiringWebDriver

  • What is EventFiringWebDriver
  • How do you use it

Conclusion

  • Next steps
80,000 Toman