Skip to content

verifyElementPresent (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • It will check whether the element is present or not at the DOM level. If the element is not found in the DOM, the command fails but continues with the execution flow, unlike assertElementPresent. By default, when the element is not present at the DOM level, the execution of the instruction would wait for 120 seconds to move the execution to the next instruction.
  • Syntax
  • verifyElementPresent(locator)
  • Target
  • locator - an element locator
  • Value
  • N/A
  • Return Value
  • N/A
 

Feedback and Knowledge Base