Page 1 of 1

How do I create an array of all the elements from a specific UI

Posted: Tue Jul 16, 2019 3:33 pm
by Filipe Mendes
Hi,

I have an application from which I want to create a list of all the Items that is available.
Then I can create a base line for the items and use it for future updates.

It should be very simple but somehow I cannot generate this list that I need.

Any help

Thanks,
Filipe

Re: How do I create an array of all the elements from a specific UI

Posted: Tue Jul 16, 2019 8:34 pm
by N612
If you make a RxPath that returns all of the items you want, you can use the CreateAdapters method to create a list of each element. The link below can help you with this if needed.

Userguide: https://www.ranorex.com/help/latest/han ... oryelement
CreateAdapters() API: https://www.ranorex.com/Documentation/R ... apters.htm

If this is not quite what you are looking for, please provide a Ranorex Snapshot (not screenshot!) of the items you wish to capture and more information on what you are trying to achieve.

Ranorex Snapshot How To: https://www.ranorex.com/snapshot

Re: How do I create an array of all the elements from a specific UI

Posted: Thu Aug 15, 2019 3:51 pm
by Filipe Mendes
Thanks for the response.
It is working now.