Locator Attributes for Windows Forms Applications

This functionality is supported only if you are using the Open Agent.

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.

The attributes that Silk Test Classic supports for Windows Forms include:
  • automationId
  • caption. Supports wildcards ? and * .
  • windowid
  • 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. Attribute values are by default case insensitive, but you can change the default setting like any other option. The locator attributes support the wildcards ? and *.