Best Practice in Folder Structure/Organization

Best practices, code snippets for common functionality, examples, and guidelines.
gilbar16
Posts: 109
Joined: Wed Mar 26, 2014 6:23 pm

Best Practice in Folder Structure/Organization

Post by gilbar16 » Wed Sep 30, 2015 7:04 pm

Hello,

Any suggestion on Best Practice on how to organize your Ranorex folders/files?

Example:
\Generic or Common Functions
\Project-A
\TestData
\UserCodes
\Results
\Repositories
\Documentation

What File/Folder Structure do most Ranorex users use?

Also, why is it that when a New Test Solution is created, Ranorex creates two folders named after the Project name by default as in
"c:\Libraries\Documents\Ranorex\RanorexStudio Projects\ProjectName_Test\ProjectName_Test\"?

Thanks.
Gilbert

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

Re: Best Practice in Folder Structure/Organization

Post by Support Team » Fri Oct 09, 2015 9:14 am

Hello Gilbert,

How to organize the folder structure of your project depends very much on your special needs and the scope of your test solution.

If you have for example a lot of modules, it would be a good approach to separate them into different folders.
For example you could create a folder for code modules and another folder for recording modules.
This could be done within the solution explorer directly.
solution_explorer.png
solution_explorer.png (13.92 KiB) Viewed 2001 times
Regarding the path of the project, one 'ProjectName_Test'-folder represents the project and the other one corresponds to the Ranorex solution.

One solution could contain a variety of projects.

I would recommend taking a look at the blog post about how to organize a test automation project with Ranorex.

Regards,
Johannes
.
Image