Getting the contents of a repository folder

Ranorex Spy, Recorder, and Studio.
reka
Posts: 5
Joined: Fri Feb 26, 2010 10:09 am

Getting the contents of a repository folder

Post by reka » Wed Jun 15, 2011 9:25 am

Hello,

I would like to write a test to check if all the UI controls are where they're supposed to be. I would also like to put the cleverness (structure) in the element repo instead of the code - so ideally creating a system of subfolders and looping through the contents of these folders to check that they can be instantiated

Is there any other way to do this other than using reflection to get the content of a repo folder?

Thanks a lot in advance

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Getting the contents of a repository folder

Post by Support Team » Wed Jun 15, 2011 12:51 pm

Hi,
reka wrote:Is there any other way to do this other than using reflection to get the content of a repo folder?
One way is to use reflection as you said. The other way would be to read the rxrep file. This file is a XML file and you can parse the nodes inside this file.

Regards,
Peter
Ranorex Team
.
Image