Testing the Internet - 24. Opening a new window


In this video you will learn how to handle new windows and tabs opened from within a web application.

Most of the traditional line-of-business applications (CRM, ERP etc.) are moving to the web and into the cloud these years. The complexity in these applications is often handled using pop-up windows, new tabs etc. In order to drive test automation for this type of application it is important to be able to handle the change of “main window” as the test progresses.

In this video we will introduce the ‘Use Browser Window’ block, that allows you to change to a specific Window/Tab, identifying the new window by either page title, page URL or by searching the page content for a specified phrase.

We have used this test case in the demonstration.

Download sample