If QA Wizard Pro cannot add windows or controls you need to test during recording because they do not exist in the application or cannot be displayed when recording, you can manually add them to the repository. This lets you add controls for use in statements without needing to record first.
You may want to manually add windows and controls to the repository if:
Note: For best results, record scripts or populate repositories to capture window and controls information whenever possible. Only manually add windows or controls if you are familiar with how QA Wizard Pro uses properties and expected property values to locate controls during playback. See Modifying window and control properties.
1. Select the application version in the Application Repository pane and choose Repository > Modify Version Windows and Controls.
The Modify Windows and Controls dialog box opens.
2. To add a window, select the version and click Add Child or select a window and click Add Sibling.
To add a control, select a window and click Add Child or select a control and click Add Sibling.
Tip: To add a window or control that is similar to an existing window or control in the repository, duplicate the existing control and then edit the properties in the new control. See Duplicating windows and controls.
The Properties dialog box opens.
3. Enter a Name to identify the window or control in scripts and the application repository.
4. Select a Control type to let QA Wizard Pro determine the actions that can be performed on the control. You cannot change the type for windows.
5. Click the Search Method tab to select the method and criteria used to search for the window or control during playback. See About search methods.
Note: If you select the Standard search method, you can add properties and expected values to use as search criteria. See Adding properties to user-added windows and controls.
6. Click the Properties tab to view or update the list of property names and values to save with the control when it is added the repository.
You usually do not need to make changes to this information. You can use it as a reference for valid property names to use when adding Checkpoint or Property statements to scripts or creating custom XPath queries to locate HTML controls during playback. You can also add or delete properties based on your knowledge of the control to save additional information. See Adding properties to user-added windows and controls and Deleting properties from user-added windows and controls.
7. Click the Advanced tab to select options that let QA Wizard Pro automatically update the properties used during recording and recommend better search criteria during playback. See Setting advanced control properties.
8. Click OK to add the control.
The control is displayed in the Modify Windows and Controls dialog box. A
overlay on the control type icon indicates it is a user-added control instead of a control added by QA Wizard Pro.
9. Repeat steps 2 - 8 to add additional controls.
Tip: To move a user-added control to group it with a different window, drag it to the correct window. This is helpful if you accidentally add a child control to the wrong window.
10. Click OK to save the changes.
After controls are added to the repository, you can add statements to scripts to perform actions on them. See Adding statements.