Is it possible to rename the Ranorex Test Suite, of an existing solution that has test cases, modules, etc?
Thanks!
Renaming a Test Suite
Re: Renaming a Test Suite
Hi,
I'm not quite sure if simple rename of test suite via Studio GUI replace all occurrences of old name? I think the easiest and most efficient way is to replace old name with new one via a good text editor (via "search and replace in file" option).
I'm not quite sure if simple rename of test suite via Studio GUI replace all occurrences of old name? I think the easiest and most efficient way is to replace old name with new one via a good text editor (via "search and replace in file" option).
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Renaming a Test Suite
Thanks for that odklizec , it is a little time consuming (at least the way I did it, file by file in Notepad++) but it did work. One small additional step I had to implement, to deal with an "unexpected error creating debug information file" error, was to delete the "bin" and "obj" folders and then rebuild the solution.
Thanks again!
Thanks again!
Re: Renaming a Test Suite
You don't have to do it file by file. In Notepad++ there is a feature "Find in Files..." (menu Search >> Find in Files...). With this you can not only find, but also replace a string in all files in defined folder. And of course, you have to rebuild the solution after such radical change.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Certified Professional
- Posts: 455
- Joined: Tue Feb 18, 2014 2:14 pm
- Location: Co Louth, Ireland
- Contact:
Re: Renaming a Test Suite
Thanks for the tip odklizec, that is helpful and would save a lot of time.
Trying to convince myself that sometimes it is better to do it the hard way first
Trying to convince myself that sometimes it is better to do it the hard way first
Re: Renaming a Test Suite
In this case, I think the easy way is to use Notepad++ as Pavel suggested.
Shortcuts usually aren't...