assertElementPresent (UI Automation - Interrogation)
Compatible with:
- Purpose
- Generated from isElementPresent(locator)
- It will check whether the element is present or not at the DOM level. If the element is found in the DOM, the commands will pass or else fails the instruction and halts the execution. 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
- assertElementPresent(locator)
- Target
- locator - an element locator
- Value
- N/A
- Return Value
- N/A