Thursday, January 30, 2014

How to handle Dialog box in Mozilla

If Browser("Browser").DialogExists Then    ----> to check whether dialog exist in Mozilla
    Browser("Browser").GetDialogText -----> to  get the text from Mozilla
    Browser("Browser").HandleDialog micOK    --->To click the ok button
    Browser("Browser").HandleDialog micCancel   -----> to click the cancel button
End If

No comments:

Post a Comment