renaming recording modules

Ask general questions here.
martinsw
Posts: 72
Joined: Fri Dec 09, 2011 2:48 pm

renaming recording modules

Post by martinsw » Thu Aug 09, 2012 10:30 am

Hi,

My test suite contains quite a lot of recording modules and from time to time I have to rename some of them. The only current way I know how to do this is to locate the recording module within the project window browser and rename it from there. This is a bit clumsy though as there are a lot of items in this window and locating the exact module I want takes effort (i don't see a "search" facility in the project browser like there is in the module browser). Is there a better way of doing this? I was hoping there would be a rename option in the context menu within the test suite itself i.e. right click on the module you want to rename and then click "rename" but i don't see it.

Also, a few other questions relating to this...

1) Is there any reason why the module browser has a search capability but the project browser doesn't?
2) When i rename a recording module i get a prompt saying

"The recording file has changed. It is high recommended that the file and class name are the same. Would you like to update the recording class name to match?"

Is there a setting somewhere that will automatically rematch the class name with the file name when a recording module gets renamed so that i don't get this prompt? Also, when i answer "yes" the relevant .cs file and the relevant .usercode.cs file automatically open up within Ranorex studio. Is there anyway to stop this happening as it is a bit annoying.

3) A repository cleanup allows you to automatically delete items from the repository that are not in use. Is there a similar facility that allows me to automatically delete recording modules that are not in use?

Thanks :)

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

Re: renaming recording modules

Post by Support Team » Thu Aug 09, 2012 12:21 pm

Hi,
1) Is there any reason why the module browser has a search capability but the project browser doesn't?
Yes, the Project-browser is adopted from sharp develop and the Module-browser is a feature from Ranorex.

I have forwarded your request concerning the Search-bar in the Project-browser to the developer team - also your request concerning the popup after renaming and the automatic open up of the relevant .cs file and the relevant .usercode.cs file.
3) A repository cleanup allows you to automatically delete items from the repository that are not in use. Is there a similar facility that allows me to automatically delete recording modules that are not in use?
No, this would be a too powerful action which might easy cause a lot of trouble when clicking too rash.

Thanks for your constructive remarks,
Larissa
Ranorex Support Team
.
Image

martinsw
Posts: 72
Joined: Fri Dec 09, 2011 2:48 pm

Re: renaming recording modules

Post by martinsw » Thu Aug 09, 2012 1:43 pm

Hi Larissa,

Thanks for the response.

Can you provide clarification on my first point. i.e. is there an easier way to rename recording modules other than the way I am currently doing it?

Also, regarding your response about the auto-deleting of recording modules being too powerful - fair enough. If an auto-delete feature would be too powerful then what about a feature which tells the user what recording modules are not in use but then the user must manually delete them one by one should he want to.

Finally, will I hear anything further on the feedback you've forwarded to the development team e.g. whether or not they will decide to develop the features mentioned in future releases?

Thanks,

Martin

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

Re: renaming recording modules

Post by Support Team » Fri Aug 10, 2012 9:51 am

Hi Martin,
is there an easier way to rename recording modules other than the way I am currently doing it?
I'm sorry, but there is no other way of doing this in Ranorex Studio.
Finally, will I hear anything further on the feedback you've forwarded to the development team e.g. whether or not they will decide to develop the features mentioned in future releases?
As I said, I have forwarded your requests (also your last one concerning the feature which filters the modules not in use). Now it would take a little time to decide whether or not those implementations are reasonable in terms of complexity/practicability. As soon as a decision is made, I will let you know.

In the meantime one opportunity to search for modules and delete them would be by open your project in explorer (right-click on project).

Regards,
Larissa
Ranorex Support Team
.
Image

martinsw
Posts: 72
Joined: Fri Dec 09, 2011 2:48 pm

Re: renaming recording modules

Post by martinsw » Mon Aug 13, 2012 3:00 pm

Thanks Larissa