When a locator is constructed, the attribute type is automatically assigned based on the technology domain that your application
uses. The attribute type and value determines how the locator identifies objects within your tests.
Supported attributes for Windows Forms applications include:
- priorlabel (For controls that do not have a caption, the priorlabel is used as the caption automatically. For controls with
a caption, it may be easier to use the caption.)
Note: Attribute names are case sensitive, except for mobile applications, where the attribute names are case insensitive. Attribute values are by default case insensitive, but you can change the default setting like any other option. The locator
attributes support the wildcards