AppTreeParser.getElementByCustomTarget()

57 views
Skip to first unread message

fred.l...@gmail.com

unread,
Aug 14, 2013, 12:54:31 PM8/14/13
to sfapi-...@googlegroups.com
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?

thameemterror

unread,
Jan 29, 2015, 2:12:50 PM1/29/15
to sfapi-...@googlegroups.com
Hi Team,

 Does anyoune help us to get hw the below thing can be done?

Many Thanks,
Thameem
Reply all
Reply to author
Forward
0 new messages