Creating a system test

As with the component testing tools, your first responsibility is to create a node in your project for the system test.

To create a System Testing node:

  1. Clean up the user interface by closing unnecessary windows. From the View menu, select Other Windows and Project Window. From the Window menu select Close All.

  2. Using the TDP Configuration selector on the toolbar, ensure the C TDP-based configuration is selected. This is necessary to support the C language messaging API.

  3. Click the Start Page toolbar button to open the Start page. Click Activities and System Testing for C to launch the System Testing wizard.

  4. In the window Create System Testing Node, enter the name MobilePhoneVT and then click the OK button.

  5. In the Test Script Selection (1/7) window, make sure Create a new test script option is not selected. For this tutorial, we will use an existing .pts test script. Click Browse (...) and select the file \examples\BaseStation_C\tests\MobilePhoneVT.pts from the HCL OneTest Embedded installation folder.

  6. On the same page, in the Interface Files List area, click the Add button and browse to the UMTS base station source files located within the product installation folder, in \examples\BaseStation_C\src.
    Select the two following C language header files, by pressing CTRL and clicking:

Click Open. These two files define the messaging API used by the UMTS base station to communicate with mobile phones. They will be reused in order to define the messaging API employed by the virtual testers. Click Next to continue. Because we have used an existing .pts test script instead of creating a new one, the wizard has jumped to step 5/7.


The system testing node has already been created (you can see it on the Project Browser). However, the the wizard has not finished guiding you through the creation of the system test. The next step is to configure the test script that will reference the messaging API, define the adaptation layer, and describe virtual tester actions.