Creating Custom Test Cases
AdminStudio 2021 | 21.0 | QualityMonitor
Edition:QualityMonitor is included with AdminStudio Professional and Enterprise Editions.
QualityMonitor supports adding additional, custom Test Cases to projects—based on your business needs.
You can define a template that includes information that is re-used when defining Test Cases. Then, when creating a new user-defined Test Case, you can load this template file and have the components of the new Test Case pre-populated with the information saved in the template. A single template file can load multiple user defined Test Cases.
Adding User-Defined Test Cases
To add a user-defined case:
|
1.
|
Launch QualityMonitor and open the package that you want to create a custom Test Case for. The QualityMonitor Product Information View opens. |
|
2.
|
Right-click on the User-Defined Tests node and select Add Test Case from the shortcut menu. |
A new Test Case appears below the User Defined Tests node, and you are prompted to enter a name.
|
3.
|
Name the Test Case appropriately. |
|
4.
|
Select the new Test Case to open the Test Case View. |
|
5.
|
Under Test Case Status, specify the status for this Test Case: Pending, Passed, or Failed. |
|
6.
|
Click Browse and select an executable to associate with this Test Case, if necessary. |
|
7.
|
In the Instructions text box, enter any necessary comments. |
For example, you may want to create a custom Test Case to ensure that a specific database is updated properly after running an application.
|
8.
|
Your entries are automatically saved in the new Test Case. |
Creating and Using Test Case Templates
To create and use Test Case templates:
|
2.
|
To save the Test Case as a template to re-use when creating new Test Cases, perform the following steps: |
|
a.
|
Right-click on this Test Case node in the User Defined Tests tree and select Save as template from the shortcut menu. |
|
b.
|
Specify a name and a location for the Test Case template and select Save. The template is saved in .xml format in the location you specify. |
|
3.
|
To add this Test Case to an existing template, perform the following steps: |
|
a.
|
Right-click on this Test Case node in the User Defined Tests tree and select Add to template from the shortcut menu. You are prompted to select the template file that you want to add this Test Case to. |
|
b.
|
Select the template that you want to add this Test Case to and select Save. |
|
4.
|
To create a new Test Case based upon a template, perform the following steps: |
|
a.
|
Right-click on the User Defined Tests node and select Load template from the shortcut menu. You are prompted to select the template that you want to use. |
|
b.
|
Select a template and click Open. All of the Test Cases that were saved in the template are now listed in the User Defined Tests tree. |
You can specify that you want a specific template file automatically loaded each time a QualityMonitor project is opened. To do this, select a Template file on the General Tab of the Options dialog box, and also select the Load Templates on Project Open option.
Renaming User-Defined Test Cases
To rename a user-defined Test Case:
|
1.
|
Under the User-Defined Tests node, right-click on the Test Case that you want to rename, and select Rename from the shortcut menu. |
|
2.
|
Provide a new name for the Test Case. |
See Also
Test Case View