[Mobile] Verify Element Not Visible

Estimated reading time: 1 minute


Verify if a mobile element is NOT visible.


Param Param Type Mandatory Description
to TestObject  Required Represent a mobile element
timeout  int Required 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.


true if the element is NOT visible; otherwise,** false**


You want to verify if 'Go to TimePicker' button is NOT visible.

Mobile.verifyElementNotExist(findTestObject('android.widget.Button5 - Go to TimePicker'), 10)

User Contributed Notes