Page 1 of 1

import existing folders

Posted: Mon Aug 08, 2016 9:50 am
by kvogler
Hello,

i'm trying to add my existing folder structure to a new Ranorex-Solution and i have two Problems:

1. How can I add a existing folder including its subfolders?
2. My Foldernames are starting with numbers e.g. "01-Title", when adding a folder manually it is renamed automatically to "-Title". How can I Change that?

Bye, Kathrin

Re: import existing folders

Posted: Wed Aug 10, 2016 3:26 pm
by asdf
Hi Kathrin,

Unfortunately, it's not possible to add a folder with included sub-folders to your project. The only thing you can do is creating a folder and its sub folders directly in Ranorex Studio and add your items afterwards.

Furthermore, there is no way to name your folders starting with a number.
As a workaround you could set an underscore '_' in front of the folder name (e.g. _01-Title).

I hope this helps.

Kind regards,
asdf

Re: import existing folders

Posted: Wed Aug 10, 2016 3:47 pm
by krstcs
asdf is correct, there is no way to import a whole directory tree at once. If you would like to make a feature request please email Ranorex directly at [email protected] as they only handle feature requests through email.


@Ranorex:
As for the issue of allow directories/folders to start with numbers, this is a bug in Ranorex. SD 4.3 allows it, but Ranorex doesn't. In addition, Windows file system allows directories to start with numeric characters.

I'm going to enter a bug in the bug forum pointing to this thread.

Re: import existing folders

Posted: Wed Aug 10, 2016 4:17 pm
by krstcs

Re: import existing folders

Posted: Tue Aug 16, 2016 10:53 pm
by Support Team
kvogler wrote:How can I add a existing folder including its subfolders?
Just copy the folder to your project directory, switch on "Show all files" in the "Projects" tab in Studio, then right click on the folder and choose "Include In Project". That should do it.

With the above workaround you can even import folders with names starting with numbers, but I would not recommend to do so, because it introduces a difference between folder names and namespaces for items within the folder (see ciege's other topic for more info).

Regards,
Alex
Ranorex Team