Inserting Test Cases

 

 

Introduction

 

A test case is nothing but a multiple property checkpoint configuration. Each test case contains the object properties and the values to which they are compared with. The property names and the compared values are stored in a separate XML file for each test case under the directory where the webscript is stored.

 

Similar to Single property checkpoints, you can define test cases during recording, select the properties  and specify the comparison values.

 

Creating Test Cases

 

To create test cases, click Control->Insert Test Case menu item from the menu bar or click the tool bar option . The "Test Case Configuration"  dialog is displayed.

 

3 types of test cases (checkpoints) can be developed:

  1. GUI Checkpoint

  2. Database Checkpoint

  3. File Checkpoint

 

Viewing Test Result

 

On script execution, the single property checkpoint will be evaluated and the result can be viewed via "View --> Test Results" menu or "View --> Summary Report" menu as shown below:

 

In the "View --> Test Results" screen, click on the tab "Test Reports". You will see the Script name and the Case Id displayed and the result adjacent to the case id.  Here, Case Id refers to each Single Property Checkpoint that has been configured.

 

 

Similarly, in the Summary report page, click on "TestCase Report" link.

 

 

 

 

 

 

 



Copyright © 1999, AdventNet Inc. All Rights Reserved.