Hello, hope I can add to this thread with a similar question please, I think this is the right topic. I'm an extreme novice at test automation (no coding experience) and am lucky enough to have Ranorex Professional license and am currently running v. 220.127.116.11
If possible I would like to execute a similar 'method' as described above to return ALL objects on a particular form and somehow export the list of elements and an attribute, e.g. the Inner Text of each element, should one exist. Basically, Ranorex would search or scan(?) a page and dump all elements meeting this criteria to an external report?
As mentioned, I'm not sure where this 'method' would live or how it would be integrated into my project (as user code, I would imagine but I'm not sure how to set up this module, either as standalone or nested in a recording). To give you a sense of my inexperience, when I read the previous answers in the thread, I don't understand the logic inherent in the solutions enough to apply the syntax or code 'overhead' (setup within project/module) to my own problem. I have used some C# user code in other scenarios (handling popups) with a little success but not enough to understand the answers above.
Not sure this is possible but thanks for any info/help!
* * * EDIT * * *
I found this related post but I'm not sure how to implement this solution in my project (for example, I'm not sure which placeholder values in the code snippet are static and which are meant to be replaced with values from my own project, or where to place this code to begin with) - thank you again for any help:
http://www.ranorex.com/forum/capture-in ... t5616.html