Set Secure Text
This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to accept an encrypted text value and input the text into the textbox within the specified table cell based on the provided input. The result is stored in the given dynamic variable for further use during test execution.
Note: To provide encrypted text as input to the Set Secure Text Action, encrypt the required text using the AES encryption method. For more information, click here.
Syntax
Input Value: <Row>;<Col>;<Object Type>;<Index>;<Encrypted Text>
<Row> (Required)
Provide the row number of the specified table cell.
<Col> (Required)
Provide the column number of the specified table cell.
<Object Type> (Required)
Provide the type of object within the input value field.
<Index> (Required)
Provide the element index of the object within the input value field.
<Encrypted Text> (Required)
Provide the encrypted text you want to enter into the textbox.
Output Value: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
Both dynamic variable stores the status as True or False.
Example: Entering Encrypted Text in a Specific Table Cell
In this example, we explain how to securely enter encrypted text into a textbox located within a specific cell of a captured table.
Action: Set Secure Text
Input Value: 2;2;input;1;U2FsdGVkX19Pcm1YxCdrJw==
The first argument (2) specifies the row number.
The second argument (2) specifies the column number.
The third argument (input) specifies the object type of the cell.
The fourth argument (1) specifies the index of the object if multiple objects exist.
The fifth argument (U2FsdGVkX19Pcm1YxCdrJw==) is the encrypted text to be decrypted and entered into the textbox.
Output Value: {Status}
The result of the action is stored in the {Status} dynamic variable, with the following possible values:
True: If the encrypted value is successfully entered.
False: If the encrypted value is not successfully entered.
Logical Explanation: The Set Secure Text action reads the parameters from the Input Value column (2;2;input;1;U2FsdGVkX19Pcm1YxCdrJw==). It identifies the table cell at row 2 and column 2, locates the textbox object, decrypts the provided value, and enters the decrypted text. The execution status of this operation (True) is stored in the {Status} variable.

Last updated