Repository is becoming a mess

Ask general questions here.
robert_butler
Posts: 24
Joined: Tue Apr 03, 2012 3:05 pm

Repository is becoming a mess

Post by robert_butler » Wed May 02, 2012 5:46 pm

Why when I spy on something then add to repository, does it create a new main folder? Sometimes it adds to the existing folder (WebDocumentWelcome) and sometimes it creates a new folder (WebDocumentWelcome1). I did change the folder to use the page name instead of the URL.

/dom[@page='Home.page']

But, even if I change the URL to the page name in the XPath editor when spying, it still adds a new folder (WebDocumentWelcome1) with the URL as the identifier instead of the page name.

robert_butler
Posts: 24
Joined: Tue Apr 03, 2012 3:05 pm

Re: Repository is becoming a mess

Post by robert_butler » Wed May 02, 2012 8:00 pm

Also, sometimes it puts things in the same folder as other similar items and renames items (adding a 1 at the end, for example). Other times, it creates a new folder (ex ContainerHBox existed, it creates ContainerHBox1 folder). I am not folloing the logic/method for how this is working.

Thanks

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Repository is becoming a mess

Post by Support Team » Thu May 03, 2012 1:16 pm

Hi,

It shouldn't happen if the parameters/RxPaths are the same.
Which Ranorex version are you using?
Maybe you can illustrate your issue with some pictures?

Regards,
Markus
Ranorex Support Team

Dyshar
Posts: 21
Joined: Thu Feb 23, 2012 3:06 pm

Re: Repository is becoming a mess

Post by Dyshar » Thu May 03, 2012 1:56 pm

i have the same problem version 3.2.2

robert_butler
Posts: 24
Joined: Tue Apr 03, 2012 3:05 pm

Re: Repository is becoming a mess

Post by robert_butler » Thu May 03, 2012 5:34 pm

email sent with repository.

i am on 3.2.3, started with 3.2.2

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Repository is becoming a mess

Post by Support Team » Fri May 04, 2012 2:12 pm

Hi,

I reproduced the issue an in some special cases it can happen that another rooted folder is automatically created/added.
I talked to the responsible developer and we will improve this in a future Ranorex version.

Regards,
Markus
Ranorex Support Team