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

Ask general questions here.
Filipe Mendes
Posts: 6
Joined: Tue Jul 16, 2019 3:24 pm

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

Post by Filipe Mendes » Tue Jul 16, 2019 3:33 pm

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

User avatar
N612
Posts: 103
Joined: Mon Jul 11, 2016 4:01 pm

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

Post by N612 » Tue Jul 16, 2019 8:34 pm

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

Filipe Mendes
Posts: 6
Joined: Tue Jul 16, 2019 3:24 pm

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

Post by Filipe Mendes » Thu Aug 15, 2019 3:51 pm

Thanks for the response.
It is working now.