The System Testing Wizard has analyzed the preexisting test script - MobilePhoneVT.pts - noting the INSTANCE blocks defined within. Recall that the INSTANCE blocks describe the exact actions a virtual tester should take, including:
what signals to send
what signals are expected in response
what tests should be performed
A test script can contain more than one INSTANCE definition. (The System Testing test script will be reviewed in Exercise Two.)
Your next responsibility is to create virtual tester drivers. A virtual tester driver is used to create one or more virtual testers - or, more specifically, one or more virtual testers for one or more of the INSTANCE blocks defined in the test script. A virtual tester driver can be configured to support only one INSTANCE block, or it can be configured to support multiple. The advantage of only supporting only one type of INSTANCE block is that the driver size is minimized.
To set up a Virtual Tester:
We are still in the System Testing wizard. In the Virtual Test Driver Creation (5/7), next to the Virtual Tester Driver List, click New. and enter the name of the virtual tester as Driver1. Click OK.
This step let's you specify which INSTANCE blocks apply to this virtual tester and, if applicable, which SCENARIO and FAMILY blocks within the INSTANCE blocks are supported. (Again, the system testing test script language is discussed in Exercise Two.)
Notice how the General tab on the Virtual Tester Driver Creation window lets you select the INSTANCE block supported by the virtual tester. In addition, the TDP configuration for this binary can be changed and modified as well. The Scenario and Family tabs let you clear SCENARIO and FAMILY blocks that you don't want the driver to support.
For this tutorial, you will only be using the Driver1 driver, and you want this driver to support all INSTANCE blocks. On the General page, set the Implemented INSTANCE to <all>.
Set the Target to your C language TDP for the machine you are working on. Since multiple drivers could be distributed across multiple execution environments, it is conceivable that each test driver would be assigned its own TDP.
Click the Next button.
One step to go. You must now describe the deployment configuration - that is, you must create individual virtual testers, the VT driver from which each will be generated, and - if applicable - the INSTANCE block that will be executed. This window can also be used to create multiple, concurrent VTs of the same type.