[Windows] Verify Element Not Present
Description
Wait until the given element to not present (disappear) within the given time in the second unit.
Keyword name: verifyForElementNotPresent
Parameters
Parameter | Parameter Type | Required | Description |
---|---|---|---|
windowsObject | WindowsTestObject | Yes | An object that describes locator and locator strategy of the target element that needs to wait for. |
timeout | Integer | Yes | System will wait at most timeout (seconds) to return the result.
|
Returns
Parameter Type | Description |
---|---|
Boolean | true if the element does not present; Otherwise, false . |
Example
"Verify to expect the edit panel presents with verifyElementNotPresent keyword"
def isNotPresent = Windows.verifyElementNotPresent(findWindowsObject('Object Repository/Edit') 10)
assert !isNotPresent