Page 1 of 1

Executable not working on pc

Posted: Wed Oct 31, 2012 7:56 am
by bsing
Hi there,

I can run the executable for the test suite which runs fine ... although when I copy the executable and ranorex test suite file to another computer to run ... it does not execute, but gives me a "solution stopped working error".

I have tried copying the whole bin\Debug directory as well with the same result.

Any suggestions?

Brad.

Re: Executable not working on pc

Posted: Wed Oct 31, 2012 3:18 pm
by odklizec
Hi Brad,

To run the test exe on another computer, you need to copy the content of Program Files\Ranorex*\bin folder to your "exe" folder. Additionally, you need Ranorex license (at least Runtime license) on that computer (or floating license accessible from that computer). For more details, see for example this post:
http://www.ranorex.com/forum/feature-re ... html#p7455

I think it would be a good idea to make the process of running compiled exes on different computers (computers without installed Ranorex runtime/studio) a bit more user friendly or maybe better documented? Just an idea for future Ranorex versions ;)

Re: Executable not working on pc

Posted: Thu Nov 01, 2012 1:05 am
by bsing
Hi,

I tried all the steps to copy files to another machine, along with Ranorex3_Server.lic, but when I ran the executable I received the following message.

"The license server '<server>' was contacted, but no suitable license was available. Please add additional licences to your license server or wait until licenses become available.

Re: Executable not working on pc

Posted: Thu Nov 01, 2012 6:39 am
by odklizec
My guess is that you have a floating license? Floating license can be run only one at a time! So make sure there is no other instance of Ranorex running during the execution of your test on another computer.

For scenario like this is good to have at least two licenses. We bought one Ranorex floating premium for development and floating runtime for execution of existing test scripts on another computer (virtual machine).