Test Plan Management

When many scripts are generated over time, it becomes difficult for the user to look for a particular script. Therefore, the user needs to create a test plan before executing any test case. A test plan contains test cases of same category or tests of same priority.

To view this section, click Test Plan Management on the left panel. The following window is displayed that has a table containing all the existing test plans.

Create Test Plan

To create a test plan, proceed as follows:

  1. On the ‘Test Plan Management’ window, click the CREATE TEST PLAN button.

2. The ‘Test Case Management’ window is displayed. This window contains three sections – Test Case Summary, Test Case Category, and Test Case Details.

In the Test Case Summary section, all the test cases (that are added to the repository or imported) with their specified priority levels are displayed.

The Test Case Category section displays the category (which are defined in the Category Rules section) of the test cases and the priorities specified for each category.

In the Test Case Details section, a user can view the details of every script. The user can also open the script, archive/delete the script, and view the complete sequence of the script.

  1. When the user clicks any number in the ‘Test Case Summary’ and ‘Test Case Category’ sections, the corresponding details are displayed in the ‘Test Case Details’ section. For example, as per the above image, if a user clicks ‘126’ in the ‘Total Cases’ column of the ‘Test Case Summary’ section, details of those 126 test cases are displayed in the ‘Test Case Details’ section. Similarly, if the user clicks ‘11’ in the ‘Priority 1’ column of the ‘Test Case Category’ section, details of those 11 test cases are displayed in the ‘Test Case Details’ section.
  2. The user can also search a specific test case by entering the text in the text box, and then clicking icon at the upper-right corner of the window.
  3. In the ‘Test Case Details’ section, the user needs to select the check boxes against the test cases which should be included in the test plan, and then click Add To Selection. To include/add more test cases from another category or priority, first click that number, and then select the required check boxes. Then click Add To Selection.
  4. After adding all the required test cases to the selection, click Save as Test Plan.
  5. Provide the test plan name and description. Click Save.

Test Case Details

When a user clicks any number in the ‘Test Case Summary’ and ‘Test Case Category’ sections, the corresponding details are displayed in the ‘Test Case Details’ section. This section displays the test cases and their details such as priority, categorization rule, type, actions, and others in a tabular format.

A user can search (smart search) a record in the table by providing either the complete string or a part of it in the search box. This is applicable for every column. One example is displayed below.

To do advanced search, click  icon. The following window is displayed.

Here, the user can create multiple combinations of fields using various conditions to search any test case. To do that, proceed as follows:

  1. Select a key (page, template, test case ID, and others) from the drop-down list.
  2. Select an appropriate operator / condition (is equal to, is not equal to, contains, not contains) from the drop-down list.
  3. Enter the item to search for in the text box.
  4. Provide the range of the sequence in which the search should be carried out. The default value is ‘All’. However, the user can provide a numeric range, which can be either hyphenated or separated by commas. For example, ‘3-5’ or ‘1,2,4’.
  5. Click icon to add the row containing the search combination created in steps 1 to 4.
  6. Add more search combinations by repeating steps 1 to 5.
  7. Click Search.

The user also has the option to search any record using these filters – Auto, Page, PageStat, Selector, and Template. Select any of these filters from the Search By drop-down list, provide the string to search for in the adjacent text box, and then click  icon.

Click the Reset button to undo all the filters. Click icon to load test data mapping. The user can export the report in excel format by clicking the Export button. Click  icon to expand or collapse the view.

Click  icon to select columns which should be displayed in the ‘Test Case Details’ table. The following options are available to choose from.

Click  icon to open and view the script of a test case.

Click icon to archive a test case, which can be viewed in Archived Tests section. To delete a test case, click  icon.

Click  icon to view the sequence. It displays the flow for which this session is considered as a test case.

Click  icon to view the complete sequence. It is the complete flow of an NV session till the sequence. It contains every detail of the NV session till the sequence which is considered as test case.

Other Functions

After a test plan is created (as explained in the above section), it is reflected in a table in the Test Plan Management window along with other test plans.

Here, a user can ‘execute’, ‘delete’ or ‘edit’ a test plan.

  1. To execute a test plan, click the corresponding Execute The Execute dialog box is displayed.

Provide the following details, and then click Execute:

    • Name and Description: The user can edit the name and description of the test plan.
    • Profile: Select the profile from the drop-down list.
    • SelectorProfile: Select a ‘Selector Mapping profile’ from the drop-down list or enter the SelectorProfile name.
    • Cluster: Enable or disable the cluster option. When disabled, the test runs on the current machine only. When enabled, the test runs on the current machine as well as the machines that are active in cluster configuration.
    • DataSet: Select the DataSet from the drop-down list.
    • Release: Select the appropriate release from the drop-down list.
  1. To delete a test plan, click the corresponding Delete button.
  2. To edit a test plan, click the corresponding Edit button. The ‘Test Case Management’ window is displayed. The user can proceed as per the procedure mentioned in Create Test Plan section to edit the test case.