The System Testing test script

A brief tour of the C-based system testing test script should clear up any further mystery about how the virtual testers are implemented.

To modify the test script:

  1. Double click the MobilePhoneVT.pts node on the Project Browser tab.

  2. Maximize the test script

Highlights, from top to bottom (use the HCL OneTest Embedded Reference Guide for detailed information regarding the system testing test script API):

Take a look around. Notice how the call_busy scenario uses the phone number 5550000, and how the call_success scenario uses the phone number 5550001. As you may recall, these were the phone numbers used in the runtime analysis portion of this tutorial.

Once you are comfortable with the test script, you can proceed to execute the test.