Using Send key action

Use the Send key action to send a key to the terminal. You can use these keys to perform various operations on the terminal. You can use this action with the TN3270E, TN5250E, ANSI, and VT100 terminal types.

To send a key to the terminal, do the following:

Procedure

  1. Double-click or drag the Send key action from the Terminal Emulator node in the Actions palette.
  2. Enter the name of the session that you have used to establish a connection with the terminal using the Connect action in the Terminal emulator session name field.
  3. Select an option from the Select key to be send list to specify the key you want to send.
  4. Enter a value in the Delay after send key command field to specify the period the system must wait (in milliseconds) after the selected key is sent.
  5. Select the Wait for text or prompt to appear check box if you want the system to wait for the prompt or certain text to appear on the terminal.
    1. Select the Prompt option if you want the system to wait till the prompt appears on the terminal.
    2. Select the Text option if you want the system to wait till the specific text appears on the terminal.
      You must provide the text you want to appear on the terminal in the Text value to be appear on screen field.
    3. Select the Wait before send key for prompt or text appear check box if you want the system to wait for the prompt or the specified text to appear on the terminal before sending the selected key.
    4. Select the Wait after send key for prompt or text appear check box if you want the system to wait for the prompt or the specified text to appear on the terminal after sending the selected key.
    5. Enter a value in the Time out for prompt or text to appear field to specify the period (in seconds) the system must wait before the operation times out.
  6. In the Assign value to variable list, select a string variable.