I have created project in VSTS2010 and a testmethod in C# using Ranorex.Core dll.
I copied the test dll onto other machine where Ranorex is not installed and tried to execute the testmethod using mstest by calling the test dll and it throwed error as Ranorex.core dll should be available.
Then I copied the entire Ranorex dll's onto that system where my test dll is available and executed again that test dll using mstest. Though the Continue Evaluation Screen appears which is expected i clicked on that as Continue and my tests are failing saying the following exception
"Ranorex.Core.RanorexCoreException: Failed to load default plugins. Please reinstall Ranorex. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Ranorex.Plugin.Win32, " etc
Please help me in the following
1. I copied all the Ranorex dlls to the folder where the test dll resides and executed. (since ranorex is not installed on that machine)
2. i have 10 VM's and should we need to compulsory install ranorex on all the VM's
3. how to execute tests on a VM where ranorex is not installed. Cant we do by just copying the ranorex dlls
Ask general questions here.
3 posts • Page 1 of 1
At minimum you *MUST* have the Ranorex Runtime Library installed and licensed. You cannot run the scripts on any arbitrary machine.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
- Support Team
- Site Admin
- Posts: 12169
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
Ciege is right, you need a valid license and all Ranorex Runtime assemblies on the target machine. The easiest way is to use the Ranorex installer/setup.Ciege wrote:At minimum you *MUST* have the Ranorex Runtime Library installed and licensed.
Yes, there is an alternative to running the installer. You can manually deploy Ranorex to your machine by copying the complete "bin" folder from the Ranorex installation directory (on your development machine) to the target machine. Then place your test executable file (and all dependent files, i.e. all files in the project's output folder) into the copied "bin" directory.smkalyan wrote:Cant we do by just copying the ranorex dlls