When recording scripts or populating the application repository, QA Wizard Pro captures windows and controls and information about their properties from the application. Before adding controls to the repository, you are prompted to review the control names and types in the Repository Changes dialog box. If you want to change a control name, you can enter one or select one from a list of suggestions generated based on control properties.
To ensure new controls captured when you record or populate in the future use intuitive names that are consistent with the tested application, you can override the default control naming convention. You can specify a prefix to add to control names to help you organize controls by type in the repository. You can also change the priority of properties used to suggest names for each control type.
For example, if you want all new buttons captured from an application to use the same prefix followed by the button text as the name, you can specify the 'btn' prefix for the Button control and select the Text property value as a priority to ensure that value is suggested for the rest of the control name before other property values.
Note: Name overrides only apply to new controls captured when recording scripts or populating the repository. Existing controls in the repository are not updated.
1. Click the Name Overrides tab when you are adding an application or modifying application properties.
2. Select a Control Type.
3. Enter a Control name prefix to prepend text to new control names.
4. Select a property from the Available Properties list and click the right arrow to add it to the Override Priority list.
The override priority order determines which property values are used first when QA Wizard Pro suggests control names in the Repository Changes dialog box. Values added to the Override Priority list are used after values in the default naming convention order. See Default control naming convention. Use the arrow buttons to reorder the list.
The <Default> value in the Available Properties list represents the default naming convention for the control type. If you want to add property values not included in the default convention for the control type, add <Default> to the Override Priority list and then add the additional property values after it. This forces QA Wizard Pro to look for other property values in the control to use for name suggestions, but keeps the default naming convention as first priority.
Tip: To copy overrides from another application, click Copy Overrides and select the application.
5. Click OK to save the changes.