Terminal Emulator package - The Terminal Emulator package provides actions for connecting to and automating tasks on remote machines using Telnet or SSH protocols.

Automation 360

The Terminal Emulator package provides actions for connecting to and automating tasks on remote machines using Telnet or SSH protocols.

The Terminal Emulator enables a machine to connect to and communicate with another machine using a command-line or graphical interface. The Terminal Emulator uses the Telnet or Secure Shell (SSH) protocol to communicate with remote machines. It supports ANSI, SCO ANSI, IBM TN3270E, IBM TN5250E, VT100, and Linux terminal types.

Important: If you use different versions of the Terminal Emulator package in a parent bot and a child bot, the capability to share a session across bots is currently not supported. To share a session across parent and child bots, ensure that you use the same version of the package in both the parent and child bots.

Before you start

Important: Before you establish a connection to a different terminal type, ensure that you have Visual C++ 2019 Redistributable Package installed on your system. If you are on an Automation 360 version earlier than A2019.14 (Build 5322), you must install Visual C++ 2013 Redistributable Package or Visual C++ 2015 Redistributable Package on your system.

Perform the following actions within the Terminal Emulator package as part of using the set of available actions:

  1. Establish a connection with a host machine using the Connect action.

    You must first establish a connection with a host machine to automate any Terminal Emulator related task. When establishing the connection, specify the details of the host machine and associate it with a session name. Use the session name provided in this action in the other actions so that you do not have to provide details of the host machine in those actions again. See Using Connect action for Terminal Emulator.

    Important: If you use any other action from this package before establishing the connection, you will encounter an error.
  2. Use the Terminal Emulator actions to automate a task. For example, use the Get field action to retrieve the value from a particular field.
  3. After you have automated all the Terminal Emulator related tasks, terminate the connection to the host machine using the Disconnect action.

Actions in the Terminal Emulator package

The Terminal Emulator package includes the following actions:

Action Description
Clear terminal

Clear terminal action

Connect Using Connect action for Terminal Emulator
Disconnect

Disconnect action

Get all fields

Get all fields action

Get field

Get field action

Get text Using Get text action for Terminal Emulator
Hide terminal

Hide terminal action

Search field

Search field action

Send key Using Send key action
Send text Using Send text action
Set key mappings Using Set key mappings
Set cursor position

Set cursor position action

Set field Using Set field action
Show terminal

Show terminal action

Wait Using Wait action