[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
Parameter | Parameter Type | Required | Description |
---|---|---|---|
to | TestObject | Yes | Represent a mobile element |
encryptedText | String | Yes | The encrypted text set to the 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. |
Example
Mobile.setEncryptedText(findTestObject('New One/android.widget.EditText0 (1)'), 'IEW1vyGbESL6h22Ztkgy5Q==', 0)