I need to read AF element hierarchy depends upon the user input in C#.
So could you please help me, how to read AF element using path in c# code.
To find elements by path, you can use AFElement.FindElementsByPath Method
If you want to be able to search with user inputs however, you might find the new AF.Search namespace useful: AFElementSearch Class
Notes on syntax: Search Query Syntax Overview
Retrieving data ...