[Mobile] Verify Element Not Checked
Description
Verify if a mobile element is not checked.
Parameters:
Parameter | Parameter 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. |
Returns
true if the element is NOT checked; otherwise, false
Example
You want to verify if a checkbox is NOT checked
Manual:
Script:
Mobile.verifyElementNotChecked(findTestObject('SampleApp.apk/android.widget.CheckBox - Checkbox0'), 10)