I've just started using the latest version of the sfapi library for a large Flex project I'm looking after.
There's quite a lot of IDs which are shared between nested objects, making simple calls problematic e.g. "flexClick" . Instead, I'm trying to provide a path to the target objects. I see that there's a method which can handle that: getElementByCustomTarget() which is called by the AppTreeParser. The docs are as follows:
Target Specifier Grammar:
* specifier = component-spec[/component-spec[/component-spec]...]
* component-spec = propertyName:targetValue
* propertyName = a property defined for the specific component
* targetValue = the value of the property to be used to match.
* The targetValue must be unique within all siblings of the parent container.
Can anyone provide an example target string to help with the syntax?