Getting the contents of a repository folder : Automation Tools

Getting the contents of a repository folder

Ranorex Spy, Recorder, and Studio.

Getting the contents of a repository folder

Postby reka » Wed Jun 15, 2011 10: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
reka
 
Posts: 5
Joined: Fri Feb 26, 2010 11:09 am

Re: Getting the contents of a repository folder

Postby Support Team » Wed Jun 15, 2011 1: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
User avatar
Support Team
Site Admin
 
Posts: 4843
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests