HTML Popups

HTML Popups are automatically detected by Test Studio. It displays the popup window with its own Recording Toolbar. Test Studio automatically includes test steps for connecting to, recording+ steps inside the new browser window, and finally closing the HTML Popup.

Popup Windows

The sequence is typically like the test steps shown below.

  1. The popup window is connected.
  2. Actions and/or verifications are performed inside the new browser window.
  3. The popup window is closed.

Popup Test Steps

The properties for the Connect to pop-up window step (test step 3) are shown below:

Popup Test Steps

There's a limitation in Test Studio in that it cannot tell the difference between the parent window and the popup window when the URL is the same. Test Studio is will randomly connect to the right or wrong one and you cannot control it.

Popups with Dynamic Queries

If your web application typically loads popups with URLs that contain a dynamic portion, such as a search query, you will need to alter the Connect to pop-up window step properties.

For example: