rf-selenium2library the pop-up process

1、Alert Should Be Present 

This keyword is not only verify the presence of pop-up box containing the response arg, but if there is a shutdown operation on

2、Get Alert Message

Get used to get a warning message, usually we will get to the text passed to a variable, then print the results to view it

3, Confirm Action closed check box and returns a confirmation message block

 Default Click the OK button,

If the operation cancel button, need to book in the "Choose Cancel On Next Confirm action before the confirmation pop-up box

Then Confirm Action

4, Input Text Into Prompt text prompt box Enter keywords

Input Text Into Prompt  [ text ]

Enter Alert popup text input box, alert box Confirm Action achieved with operation of the whole text of the popup

 

5、Handle Alert

Handle Alert [action = ACCEPT | timeout = None] is the point of default pop-up box to determine

Handle Alert action = DISMISS point canceled

 

Guess you like

Origin www.cnblogs.com/jodie2019/p/11975887.html