Default control naming convention

When recording a script or populating the application repository, QA Wizard Pro suggests window and control names based on properties captured from the application. Before adding controls to the repository, you can review them in the Repository Changes dialog box. You can select a name for controls from the list of suggestions or enter a name.

To create the list of suggested names for new controls, QA Wizard Pro uses up to five control property values in the following order.

Note: Properties that only apply to specific control types are in parentheses.

Priority Property
1 UIA Name
2 Automation Name
3 Automation ID
4 Name
5 Control Name
6 Object Name
7 ID
8 Inner Text (Link only)
9 Text (Window, Button, and Label only)
10 Title (Window only)
11 Accessible Name
12 Label
13 UIComponent ID
14 Display Object Name
15 Attached Text (EditBox, SpinBox, ComboBox, ListBox, ListView, Grid, Tree, and Image only)
16 MSAA Name
17 [placeholder] (EditBox, SpinBox, and ComboBox only)
18 [alt] (Image only)
19 [title] (Image only)
20 src (Image only)
21 Menu Type (Menu only)
22 Class Name
23 HTMLTagName (HTMLElement only)
24 Control Type

Tip: If you want to add a prefix to new control names or change the priority of the properties used to suggest names for a specific control type, you can override the default control naming convention. See Overriding naming conventions for new controls.