Steer JavaScript dialog boxes
With the XBrowser Engine 3.0, you can steer the JavaScript dialog boxes in your HTML application, which increases your testing accuracy.
To begin steering a JavaScript dialog box, use the Module Steer Dialog Box.
This Module is part of the Standard subset. You can find it under Standard modules->Engines->Html.
|
Note that you need to steer the page before you steer the dialog box. |
![]() |
In this example, the XBrowser Engine 3.0 searches for the specific browser window that matches the following criteria:
Once XBrowser Engine 3.0 finds the browser window, it enters the text Tricentis Tosca in the text input field of the prompt dialog and selects OK.
Example - Steer Dialog Box |