Hi all,
I wonder if I can create a central repository with some Utiliti classes and import them in all of my test solutions.
I'm using Ranorex 4.0.4.
Thanx
Max
Import an Utility class in every Solution
-
- Posts: 20
- Joined: Thu May 09, 2013 10:44 am
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Import an Utility class in every Solution
Hello Max,
It is possible to insert an existing repository to each project using the project view.
I am not sure what exactly do you want to do, but you can also create your classes within a DLL and add it to the references in your project.
Please let me know if I didn't understand you correctly.
Thank you!
Regards,
Bernhard
It is possible to insert an existing repository to each project using the project view.
I am not sure what exactly do you want to do, but you can also create your classes within a DLL and add it to the references in your project.
Please let me know if I didn't understand you correctly.
Thank you!
Regards,
Bernhard
-
- Posts: 20
- Joined: Thu May 09, 2013 10:44 am
Re: Import an Utility class in every Solution
You did understand correctly, but in the while I've solved it!
Thanx
Max



Thanx
Max
-
- Posts: 20
- Joined: Thu May 09, 2013 10:44 am
Re: Import an Utility class in every Solution
Ok, to import a Code module is simple
right click on solution name, Add / Existing Item ... , select code module, when Ranorex ask if copy or link press on link, in this way code is always aligned in all my test.
Can someone tell me if I can link modules too?!?
thanx
Max
right click on solution name, Add / Existing Item ... , select code module, when Ranorex ask if copy or link press on link, in this way code is always aligned in all my test.
Can someone tell me if I can link modules too?!?
thanx
Max
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Import an Utility class in every Solution
Hello,
You could of course link a Code module to your solution if you right-click on your project, choose 'Add Existing item', browse to your Code module and select 'Link' on the 'Add Existing Files' dialog.
Regards,
Markus (T)
You could of course link a Code module to your solution if you right-click on your project, choose 'Add Existing item', browse to your Code module and select 'Link' on the 'Add Existing Files' dialog.
Regards,
Markus (T)