Alert dismiss Version 10 (Java)

Action group: Browsers


Description

The action simulates clicking the [Cancel] button of the dialog box

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextAction context for working with the browser.Robin.SeleniumBrowser contextYes

Special conditions of use

None.

Example of use

Task

Go to website https://old.bankrot.fedresurs.ru/backoffice/Login.aspx, click "Log in", dismiss the dialogue window.


Solution

Use the "Open Browser", "Send click", "Alert dismiss", "Close Browser" actions.

Implementation

  1. Assemble a robot scheme with the actions.

  2. Set the "Open Browser" action parameters.
  3. Set the "Send click" action parameters. To create the element use the WebSpy tool (see section Create Web-elements). 
  4. Set the "Alert dismiss" action parameters.
  5. Set the "Close Browser" action parameters.

  6. Click "Start" in the top panel.

Result

The program robot completed successfully.

  • Нет меток