Skip to end of metadata
Go to start of metadata

Description

Verify if a mobile element is not checked    

Parameters:  

ParameterParameter TypeMandatoryDescription
toTestObject requiredrepresent a mobile element
timeout intrequiredsystem will wait at most timeout (seconds) to return result
flowControlFailureHandlingoptionalspecify failure handling schema to determine whether the execution should be allowed to continue or stop. More details is in this page: Failure handling

Returns

true if 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)
  • No labels
Write a comment…