Executing the system test

It might seem like a lot of work to get to this point, but consider what you have accomplished and what can be accomplished. You have:

Each step you performed, in reality, has hidden an enormous amount of complexity.

In this section, you will run the test.

To execute the test:

  1. Run the System Testing agent software - that is, run the software that supports virtual tester execution. The agent executable is called atsagtd and it can be executed in one of two ways:

When test execution has completed, a post-execution trace of events will be created; this trace is used later in the tutorial. However, if you wish to monitor execution via an on-the-fly trace as well, follow the next five steps. Otherwise, skip to Step 7.

  1. Right-click the MobilePhoneVT system testing node on the Project Browser tab and select Settings

  2. Expand the System Testing node on the left-hand side of the Configuration Settings window, select the Advanced options node and then select Yes in the dropdown list associated with the property On-the-fly tracing.

  3. Click OK.

  4. From the Window menu, select Close All.

Now run the test.

  1. Left-click the MobilePhoneVT system testing node and press the Build button. (If you are asked to rebuild the nodes, click the Yes button.) The test harness is now built, deployed, and executed.

  2. If you opted to create an on-the-fly trace: The Runtime Trace viewer will appear. The test has finished executing when the right-hand phone1_0 lifeline in the viewer is stamped at its base by a black X:

If you opted to not create an on-the-fly trace: Execution has completed when the green execution light in the lower-right of the OneTest Embedded GUI stops flashing ()

  1. From the File menu, select Save Project.

  2. On Windows only - close the System Testing Agent.

The on-the-fly runtime tracing diagram shows interactions, as they happened, between the software-under-test (SUT) - that is, the UMTS base station - and the single virtual tester you had created for the system test. This virtual tester is named phone1_0. Such an on-the-fly diagram is useful for monitoring test execution; however, this diagram is not crucial to the extent that the information within it has also been captured for post-execution analysis in a separate runtime tracing diagram.

In the next exercise, you will look at this runtime tracing diagram and then study the system test report.