SendKeys

Estimated reading: 2 minutes 3461 views

This activity helps the user to provide any text value to the position based on the cursor point.

Properties

INPUT

InputText: *This parameter indicates to provide the text value that needs to be provided in the terminal application. It accepts the input value in “String” datatype. You can either hardcode the values in “String” format variable or provide the values in “String” datatype.

MISC

DisplayNameDisplays the name of the activity. The activity name can be customized, which aids in troubleshooting.

SkipOnError: Specify the “Boolean” value as “True” or “False.”
True: Continue executing the workflow regardless of any errors thrown.
False:
 Halt the workflow if it encounters any errors.
None:
 If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: It indicates the version of the feature being used.

OUTPUT

Result: It provides the ability to view the execution status of the activity. It returns values in “Boolean.”

True: Indicates that the activity has been executed successfully without any errors.
False: Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

* Represents mandatory fields to execute the workflow.

Example 

In the example below, I am connecting to the terminal and setting the value to enter the password from the system using the SendKeys activity.

Note: The emulator has already been configured, and the session has been launched to perform automation.

1. Drag and drop the “TerminalSession” activity into the workflow.
2. Double click on the activity and select the “Configure Session” option. 
a. Click here to view how to configure the session. 
3. Now, add the “Send Keys” activity into the “Do” sequence of the terminal session activity. 
4. In the “Input” position, I am providing the value as “Pass123”.   
a. Here, i have manually placed the cursor point where the text needs to be provided. 
5. Now, execute the activity and view the result. 

Share this Doc

SendKeys

Or copy link

CONTENTS