O'Reilly logo

Selenium Testing Tools Cookbook by Unmesh Gundecha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Controlling the Test Flow

In this chapter, we will cover the following:

  • Synchronizing a test with an implicit wait
  • Synchronizing a test with an explicit wait
  • Synchronizing a test with custom-expected conditions
  • Checking an element's presence
  • Checking an element's status
  • Identifying and handling a pop-up window by its name
  • Identifying and handling a pop-up window by its title
  • Identifying and handling a pop-up window by its content
  • Handling a simple JavaScript alert
  • Handling a confirm box alert
  • Handling a prompt box alert
  • Identifying and handling frames
  • Identifying and handling frames by their content
  • Working with IFRAME

Introduction

While building test automation for a complex web application using Selenium WebDriver, we need to ensure that the test ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required