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
- Start recording a new script using the host connection. For information on recording a host connection script, see related topics.
- Log in to your host session and interact with the host, navigating to other screens and creating data verification points.
- To open another terminal session, perform the following
steps:
- You can now switch back and forth between the terminals, continually interacting with the hosts, and creating verification points on the different terminals.
- Log off from both hosts, and on the tool bar click the Stop recording icon.
- 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, Test 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.