Editing verification point data

You can edit verification point data while creating or inserting a verification point in the Verification Point Data page wizard. After you create the verification point, you can edit the data in the Verification Point Editor.

Editing data verification points for listing elements

When you create a data verification point and choose the List Elements test, the data is displayed in a list format in the main data area of the Verification Point Editor and the Verification Point Data wizard page. The list displays the same information as the list in your application, in the same order.
  • To edit the list of items to test during playback, mark the check box beside each item. Checked items are tested each time you play back a script with this verification point. Click the Check All or Uncheck All to select or clear all of the items in the list.
  • To change a value in the list, double-click the list item and change the value.
  • To insert items into the list, click the Insert toolbar icon Insert button to insert a blank line. Type the new list item in the line.

Editing data verification points for menu hierarchy tests

When you create a data verification point and choose the Menu Hierarchy or Menu Hierarchy with Properties test, the menus are displayed in a tree format in the main data area of the Verification Point Editor and the Verification Point Data wizard page. The tree displays the entire menu hierarchy of your application, or one top-level menu and its sub-items, depending on how you recorded the verification point. If you chose the whole menu bar, each top-level menu is shown from top to bottom in the tree in order that they occur from left to right in the menu bar. Each menu item is shown under its top-level menu. Use the plus and minus signs to open and close the list for each top-level menu.

  • To edit the list of menu items for testing during playback, use the check box beside each item. Checked items are tested each time you play back a script that includes this verification point. Click Check All or Uncheck All to select or clear all the items in the list.
  • To edit a menu item properties:
    1. Double-click the menu item in the tree. The menu item properties dialog box displays the properties in a grid.
      • To edit the actual values, double-click the value in the Value column of the grid and change the value.
      • To edit the detailed properties of the menu item, double-click Masked Property Sheet, and edit the required values. The Masked Property Sheet value is listed only for the Menu Hierarchy with Properties test.
    2. Close the menu item properties dialog box.

Editing data verification point for a table

When you create a data verification point and choose the Table Contents or Selected Table Cells test, the table data is displayed in the main data area of the Verification Point Editor and the Verification Point Data wizard page. The table displays the same information as the table in your application. You can edit which cells in the table are tested. Table cells in the comparison regions are shown with a gray background. You can also modify the metadata features of the table such as the column headers and row headers.

To change the data table, perform one or more of these tasks:
  • To edit a value in a cell, double-click the cell and change the value.
  • To modify the region of comparison of the table for testing:
    1. Click Column, Row, or Cell Selection from the list on the toolbar above the data region to make cell selections in the table. For example, if you click Row Selection, and click a cell in the second row, the entire second row is selected. If you click Cell Selection, only that cell is selected.
    2. After you select the data to compare, click the Update Comparison Region icon Update Comparison Region to save the changes.
  • To edit the column headers, double-click the Value column of the columnHeaders property. In the columnHeader dialog box, modify the required header values and close the dialog box. Similarly, you can change the row headers.
  • To include the row headers or the column headers for comparison, set the compareRowHeaders or compareColumnHeaders to true.
  • To change the column keys,
    1. Double-click the Value column of the columnKeys property.
    2. In the columnKeys dialog box, select the required key value and close the dialog box. The process of changing the row keys is similar to the preceding task.

Editing a data verification point for a tree hierarchy

When you create a data verification point and choose the Tree Hierarchy or Selected Tree Hierarchy test, the data is displayed in tree format in the main data area (right pane) of the Verification Point Editor and the Verification Point Data wizard page. The tree displays the entire tree hierarchy of your application. Each individual item is shown under its top-level item. Use the plus and minus signs to open and close the list for each top-level item. By default, all tree items appear with a check mark, which means they are tested. Checked items are tested each time you play back a script with this verification point.

  • To edit the list of tree items that are tested during playback, use the check box beside each item. Checked items are tested each time you play back a script that includes this verification point. Click the Check All or Uncheck All to select or clear all the items in the list.
  • To edit an item in the hierarchy, double-click the item in the tree. Edit the text in the dialog box, and then close the dialog box.