[Mobile] Verify Element Not Checked
Description
Verify if a mobile element is not checked.
Keyword name: Mobile.verifyElementNotChecked
Parameters:
Parameter | Parameter 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 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)