Skip to content

assertAlertPresent (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • This command is used to check if the application under test(AUT) has thrown an alert with the text supplied(in the Target field) and then accept it.
  • The command will be executed without any error if there is an alert message present on web application page, else the command fails and the execution of the test is stopped.
  • Syntax
  • assertAlertPresent()
  • Target
  • N/A
  • Value
  • N/A
  • Return Value
  • N/A
 
 

Feedback and Knowledge Base