Page 1 of 1

How to add and access Multiple Repositories

Posted: Wed Jul 07, 2010 1:50 pm
by jainaakash
Hi Team,

I have another question :)

How do I add multiple repositories and access repository items in a single project. I just have one recording. Infact, I dont use Recordings at all.. All my actions are driven through usercode.

I want to divide my controls in multiple repositories, and access them in the code accordingly. Can you please guide me through the steps for achieving this.

I had a look at some forum / blog entries and the userguide, but was not able to figure out.

Thanks.

Re: How to add and access Multiple Repositories

Posted: Wed Jul 07, 2010 3:08 pm
by Support Team
Hi,

Simply add a new Repository to your Project.
To use elements in your new Repository you have to create a new object.
RxRepository repo = RxRepository.Instance;
Through this object you will be able to call your elements.
But it's currently not possible to bind multiple repositories to one single recording. You are only able to use this functionality in user code.

Regards,
Peter
Ranorex Support Team

Re: How to add and access Multiple Repositories

Posted: Fri Jul 09, 2010 12:32 pm
by jainaakash
Thanks