Create 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.
To create a host connection script:
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 Functional Tester 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.
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
After the session is connected, you can interact with the host session, navigate to other screens, and create data verification points.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.
- Create a new connection configuration file
Before connecting to your host session, you can create a new connection configuration by saving the connection values in a host connection configuration file.- Saving connection properties
You can save your connection properties for later use. The connection properties are saved with a .conn extension in location specified in the Preferences window. On loading the connection properties file, the current properties are replaced with the properties stored in the file.- Create 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.- Customizing screen size when connecting to a TN3270 or TN3270E host
You can customize your screen size when connecting to a TN3270 or TN3270E session. Other types of sessions, such as TN5250 and VT sessions, are not affected by this feature.Related reference