Creating scripts using multiple terminals

You can create scripts that simultaneously automate the testing of multiple host terminals. Using this feature, you can create scripts with host applications that react to the interactions with other host applications.

Procedure

  1. Start recording a new script using the host connection. For information on recording a host connection script, see related topics.
  2. Log in to your host session and interact with the host, navigating to other screens and creating data verification points.
  3. To open another terminal session, perform the following steps:
    1. On the Recording Monitor window toolbar, click the Start Application Start Application icon icon.
      The Start Application window opens.
    2. Click Extension for Terminal-based Applications from the Application Name list, and click OK.
  4. You can now switch back and forth between the terminals, continually interacting with the hosts, and creating verification points on the different terminals.
  5. Log off from both hosts, and on the tool bar click the Stop recording Stop recording icon icon.
  6. Save your script.

What to do next

Note: Extension for Terminal-based Applications uses .conn files to differentiate the sessions. The terminal sessions cannot use the same .conn file in order to distinguish the terminals from one another. Otherwise, when the script is played back, HCL OneTest UI will not recognize that there are two terminal sessions. All actions against either terminal will be played back on a single terminal.

If during playing back your script, any of the verification points fail, then edit your script or object map.