Dialogs

  • Not all test steps play out directly inside the browser. Web pages can display popup dialog windows in the form of alerts, confirmations, and other browser instances.
  • Test Studio allows you to track and respond to dialog windows and can handle HTML popups and Win32 dialogs.
  • An HTML popup is a new browser window that is detected automatically. Test Studio will prompt you to automate the popup.
  • A Win32 dialog is not a browser window, but a dialog displayed by the Windows operating system.
  • Test Studio typically inserts the appropriate handler into your test automatically when recording against a dialog. You can also insert a dialog handler manually, however.

Standalone
Standalone Version
VS Plugin
VS Plugin

Alert

Displays a message and a single "OK" button.

Alert Alert
Alert Alert

Confirm

Displays a message and asks a question.

Confirm Confirm
Confirm Confirm

Logon

Enters username, password, and click "OK".

Logon Logon
Logon Logon

ONbeforeUnload

Asks whether to leave or stay on the current page.

Unload Unload
Unload Unload

Upload

Inputs the path of a file to be uploaded to the server.

Upload

Indicate multiple files for upload using space-separated quoted file paths.

Upload

Download

Saves a file hosted on the server locally to disk.

Download