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 Win32 dialogs, as well as other browser instances. Test Studio Dev allows you to track and respond to dialog windows, handle HTML popups.

The dialogs displayed by a browser can be either a browser window dialog, or a dialog displayed by the Windows operating system - the Win32 dialogs. Test Studio Dev Recorder recognizes these and inserts automatically the appropriate handler into your test while recording your actions against the browser.

Some of the browser window dialogs and the recorded step to handle each of them are sampled below:

Handle Alert Dialog Step

Handle Alert Dialog Step

Handle Confirm Dialog Step

Handle Alert Dialog Step

Handle Prompt Dialog Step

Handle Alert Dialog Step

The Win32 dialogs - FileUpload and FileDownload - dialogs and the recorded step to handle these are sampled below:

File Upload Dialog Step

Handle Upload Dialog Step

File Download Dialog Step

Handle Download Dialog Step

The dialog handlers can be added manually from the Step Builder as well.

In this article
Not finding the help you need? Improve this article