How to call other project recording modules in other project

Ask general questions here.
Ram_Sankar
Posts: 13
Joined: Mon Mar 17, 2014 8:17 am

How to call other project recording modules in other project

Post by Ram_Sankar » Thu May 08, 2014 12:20 pm

Good afternoon Folks,

I am on fire today I reckon. Here is something to the experts.

I am still new to Ranorex. We intend to create a few standard project with recordings that will be used commonly by other projects. I am not sure how to call a recording from one project to another complete different project.

I have done enough research and somehow I dont seem to find solutions. :oops:

Any of the expert advice swiftly, would be solemnly appreciated. 8)

Thanks and have a great day !

Ram

mzperix
Posts: 137
Joined: Fri Apr 06, 2012 12:19 pm

Re: How to call other project recording modules in other project

Post by mzperix » Thu May 08, 2014 1:13 pm

Hi Ram_Sankar,

Just import the project into your "main" solution.
Just right click on the Solution and select Add-> Existing project. See screenshot.

The imported recordings will be shown in your project explorer, and in your module browser as well.

Best Regards,
Zoltan
Attachments
add_project.png
add_project.png (60.5 KiB) Viewed 940 times

mzperix
Posts: 137
Joined: Fri Apr 06, 2012 12:19 pm

Re: How to call other project recording modules in other project

Post by mzperix » Thu May 08, 2014 1:27 pm

Some more note on the projects that will be used by others:
- it could make sense if you create those projects as a Class Library
- the project's type can be changed among the projects' properties (right click on project and select Properties). See screenshot. The default project ranorex creates is a Console application type.

Not question related, but if you want to reuse some methods from one code module or recording in another:

http://stackoverflow.com/questions/1928 ... -all-tests

Best regards,
Zoltan
Attachments
project_type.png
project_type.png (66.91 KiB) Viewed 939 times