Selenium WebDriver Java Framework Course Limited Time Offer for $20

Selenium WebDriver Java Framework Course Limited Time Offer for $20

 

Print

Selenium IDE Alerts, Popups and Multiple Windows

Selenium IDE can handle Alerts, Popups and Multiple Windows by using some commands below.  User should respond to alert/confirm boxes, as well as moving focus to newly opened popup windows.

 

  • assertAlert
  • assertConfirmation

 

Command Target Value
click btnAlert  
assertAlert 'blocking page!'  
verifyTextPresent Verify some text  
click btnConfirm  
chooseCancelOnNextConfirmation    
assertConfirmation Choose a confirmation  
verifyTextPresent some text