Skip to main content

[Mobile] Set Encrypted Text

Description

Enter an encrypted text in an input field and clear the existing value of the input field. To encrypt a raw text, from the main menu, select Help > Encrypt Text.

Keyword name: Mobile.setEncryptedText

Parameters

ParameterParameter TypeRequiredDescription
toTestObjectYesRepresent a mobile element
encryptedTextStringYesThe encrypted text set to the 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.

Example

Mobile.setEncryptedText(findTestObject('New One/android.widget.EditText0 (1)'), 'IEW1vyGbESL6h22Ztkgy5Q==', 0)
Was this page helpful?