Each application window and control has a set of properties that make it unique in the application repository. These properties are used to identify windows and controls so duplicate objects are not added during subsequent recordings. They are also used as search criteria for the Standard search method to find the controls during playback. See About search methods.
When you select the control type for a user-added window or control, a default set of properties is automatically added to it. To use a property that is not added to the control by default as search criteria or to make the control unique in the repository, you can manually add the property and value.
Note: Make sure to only add valid properties to user-added windows or controls based on the technology used to develop the test application. You cannot add properties to windows and controls added to the repository by QA Wizard Pro.
1. Click Add Property on the Search Method or Properties tab in the Properties dialog box when you are adding or editing a user-added window or control.
The Add Property dialog box opens.
2. Select or enter a property Name.
If the window or control in the application does not include the specified property name, QA Wizard Pro cannot identify it during recording and playback, which may cause errors or add duplicate objects to the repository.
3. Enter the Repository value to save as the original value for the property when the control is added to the repository.
Enter a valid value based on your knowledge of the test application that can be used as a reference if the expected property value is changed later. If you do not know the value to enter, ask the application developer for help.
4. Enter the Expected value to specify the value to find in the application during playback. The repository and expected values usually match when you first add properties to windows or controls, but you can modify the expected value later if the application changes.
You can enter a text, rectangle, number, Boolean, or URL value.
You can use repository variables in expected values so QA Wizard Pro can locate dynamic windows and controls when an application changes. For example, you can replace a URL with the URLROOT repository variable. To use a repository variable in the value, select it from the list and click Insert. The variable is replaced with the variable value used during playback. See Creating repository variables.
Tip: To enter a repository variable in the Expected value field, add percent signs to the beginning and end of the variable name. For example, %urlroot%.
5. Click OK add the property.
Make sure the property is selected on the Search Method tab in the Properties dialog box to use it as search criteria when recording or running scripts.