AnsweredAssumed Answered

Method(s) to resolve a relative path to an af element

Question asked by ChewCheeLim on Jan 15, 2015
Latest reply on Jan 15, 2015 by David Hearn

Hi, there, I am looking at an API method named :

AFElement..::..FindElementsByPath Method (IEnumerable<(Of <(<'String>)>)>, AFObject)

 

In order to resolve a relative path to an actual AF element.  I am trying out above method, only be able to get AF Element returned when I have a proper absolute path.

 

Ultimately, I want to resolve relative paths any of the following formats, how to accomplish with FindElementsByPath() method? What information to pass in AFObject? Could I get a code snippet as sample? Many thanks!

 

Outcomes