Hi,
I am using Ranorex to automate our Windows forms application which has thousands of forms. One of the major problems I am having is managing my repository.
>>Lets say I am recording testcase 1. Control A is recognized in one particular way, lets say controlid
>>Now when I am recording testcase 2. Control A is recognized in a different way, lets say accessible name.
I am having to go and clean up my repository to make sure that a control is identified in a unique way.
The example is just for one particular control in two different test cases. Imagine the tediousness when it comes to 1000's of controls in 300+ test cases. Is there a better way to do this?
Also, I am using just one repository for all my test cases. Is this approach wrong? Any suggestions on how I should set up my repository? Below are the options I am considering
>>One repository for the entire application
>>One per test case
>>One per form. If my application has 1000 forms, then I will have 1000 repositories.
Any help is sincerely appreciated.
Thanks!
Managing Repository
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Managing Repository
Hi,
http://www.ranorex.com/forum/should-i-u ... html#p3795
Regards,
Peter
Ranorex Team
Are you really sure that these two controls are the same? Because Ranorex Recorder usually does not create two separate items for the same control/element, instead it uses an existing item if the path of the elements match. Of course it is possible to identify a single control/element using different RxPaths, but the RxPaths automatically created by Ranorex should always be quite similar and should consequently be matched to a single repository item.ranoman wrote:>>Lets say I am recording testcase 1. Control A is recognized in one particular way, lets say controlid
>>Now when I am recording testcase 2. Control A is recognized in a different way, lets say accessible name.
Please read following postranoman wrote:Also, I am using just one repository for all my test cases. Is this approach wrong?
http://www.ranorex.com/forum/should-i-u ... html#p3795
Regards,
Peter
Ranorex Team