Skip to main content

[Mobile] Verify Element Not Checked

Description

Verify if a mobile element is not checked.

Keyword name: Mobile.verifyElementNotChecked

Parameters:

ParameterParameter TypeRequiredDescription
toTestObjectYesrepresent a mobile element
timeoutintYessystem will wait at most timeout (seconds) to return a result
flowControlFailureHandlingOptionalSpecify 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:

Verify element not checked example

Script:

Mobile.verifyElementNotChecked(findTestObject('SampleApp.apk/android.widget.CheckBox - Checkbox0'), 10)
Was this page helpful?