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

  1. Click the Record a Functional Test Script icon on the toolbar to start recording a new script.
  2. Provide a name for the script, and click Finish.
    The HCL OneTest UI window minimizes, and the Recording Monitor opens.
  3. Click the Start Application Start Application icon icon on the Recording Monitor toolbar.
  4. Select Extension for Terminal Based Applications from the list, and click OK.
  5. Specify the basic connection properties. For more information about basic connection properties, see the related topics.
  6. Optional: Click Advanced, and type the properties in the Advanced Settings window. For more information about advanced connection properties see the related topics.
  7. Click the Open a Connection Properties File Open a Connection Properties File icon icon on the tool bar.
  8. Select the file name, and click OK.
  9. Click the Connect using the current connection properties Connect using the current connection properties icon 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

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:
  1. Start Extension for Terminal-based Applications.
  2. Log in to your host session.
  3. Navigate to the location where you want to start recording the script.
  4. Start recording your script.