Locator Attributes for Apache Flex Controls

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.

Silk Test Classic supports the following locator attributes for Apache Flex (Flex) controls:

automationName
The name of the application.
caption
Similar to automationName.
automationClassName
For example FlexButton.
className
The fully qualified name of the implementation class, for example mx.controls.Button.
automationIndex
The index of the control in the view of the FlexAutomation, for example index:1.
index
Similar to automationIndex but without the prefix, for example 1.
id
The identifier of the control.
windowId
Similar to id.
label
The label of the control.
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 *.