Creating a host connection script
You can create a host connection script so that you can interact with the host session, navigate to other screens, and create data verification points.
Procedure
- Click the Record a Functional Test Script icon on the toolbar to start recording a new script.
- Provide a name for the script, and click Finish.
The HCL OneTest™ UI window minimizes, and the Recording Monitor opens.
- Click the Start Application icon on the Recording Monitor toolbar.
- Select Extension for Terminal Based Applications from the list, and click OK.
- Specify the basic connection properties. For more information about basic connection properties, see the related topics.
- Optional: Click Advanced, and type the properties in the Advanced Settings window. For more information about advanced connection properties see the related topics.
- Click the Open a Connection Properties File icon on the tool bar.
- Select the file name, and click OK.
-
Click the Connect using the current connection properties
icon on the tool bar.
Note: If you type invalid properties or leave any required properties unspecified, an error message is displayed. Correct the invalid entries in Extension for Terminal-based Applications window, and connect.
What to do next
You can also create scripts that start from a non-login
host screen:
- Start Extension for Terminal-based Applications.
- Log in to your host session.
- Navigate to the location where you want to start recording the script.
- Start recording your script.