Exercise 1: Creating a TestCase

 

1.From the MxVDev main menu, select Help->Copy Samples.

2.Copy the Exercise1 sample project, then click the Close button.

3.Select File->Open->Project.

4.Browse to the MxSuiteSamples\Exercise1 folder (created in step 2) and select MxV.mxp.

OpenProject

5.If a Scenario window is open, close it.

6.From the MxVDev main menu, select File->New->TestCase.

NewTestCase

7.Enter a descriptive Name for the TestCase.

8.Select the units to be used for time measurements.

9.Enter the Test Duration. This is the maximum time the TestCase is allowed to run. The default value is acceptable.

10.Enter the Test Resolution. The Test Resolution is the minimum amount of time between transitions for Signals in this TestCase.
 
To change these properties and others, see TestCase Properties .

11.Press the OK button. The Pick Signals box is displayed.

  Ex1-PickSignals

12.On the left-hand side, select the type of signal to be added. For example, Stimulus>Standard.

13.Select the signal and click addPickSignal to add it to Selected Signals.  

14.Repeat steps 12 and 13 for each signal you are using. To add response Signals to your TestCase, select Response>Standard.

15.Click the OK button and save the TestCase with an appropriate name. We recommend that TestCases be saved in the ScenariosAndTestCases folder or a subfolder of it. You can also add additional default Scenario/TestCase folders.

MxVDev displays the TestCase viewer/editor. An asterisk following the TestCase name, as shown below, indicates that the TestCase has not been saved:

An Unsaved Test Case

An Unsaved Test Case

Most of the values you entered here can be changed. For more details, see TestCase Properties and Picking Signals.

 

Related Topics:

Manipulating TestCases

TestCase Properties

Viewing Signals

Working with Scenarios