[Mobile] Verify Element Not Visible
Description
Verify if a mobile element is NOT visible.
Keyword name: Mobile.verifyElementNotVisible
Parameters
Param | Param Type | Required | Description |
---|---|---|---|
to | TestObject | Yes | Represent a mobile element |
timeout | int | Yes | System will wait at most timeout (seconds) to return a result |
flowControl | FailureHandling | Optional | Specify failure handling schema to determine whether the execution should be allowed to continue or stop. |
Returns
true if the element is NOT visible; otherwise, false.
Example
You want to verify if 'Go to TimePicker' button is NOT visible.
Mobile.verifyElementNotExist(findTestObject('android.widget.Button5 - Go to TimePicker'), 10)