Hello Team,
Ranorex test executable exe file is not working for Test suite. It is showing empty file on double click.
while same testcases are working fine and executable from Ranorex solution. I have attached the screenshot here.
Thanks,
Palvi
Ranorex test executable exe file is not working
Ranorex test executable exe file is not working
- Attachments
-
- Ranorex_exe_error.png (68.81 KiB) Viewed 253 times
Re: Ranorex test executable exe file is not working
Hi,
Are you running this test from the same computer as it was compiled on? If not, please read the user guide chapter "Runtime and remote execution":
https://www.ranorex.com/help/latest/ran ... roduction/
Also, I would suggest to install Ranorex on the target machine, because it will install all necessary libs and runtimes
It's really the best way to assure the target machine contains everything required to run Ranorex tests.
Are you running this test from the same computer as it was compiled on? If not, please read the user guide chapter "Runtime and remote execution":
https://www.ranorex.com/help/latest/ran ... roduction/
Also, I would suggest to install Ranorex on the target machine, because it will install all necessary libs and runtimes

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Ranorex test executable exe file is not working
Hello,
This is same machine where the test is compiled and it is executing through ranorex studio but not via click on exe file. I have tried the options given in the link as well
This is same machine where the test is compiled and it is executing through ranorex studio but not via click on exe file. I have tried the options given in the link as well
Re: Ranorex test executable exe file is not working
Hi,
This is really weird. What version of Ranorex do you use? Please make sure it's the most recent 9.3.3. Is there any error message displayed in report? I mean, is there generated report at all?
Also, have you tried to delete entire bin folder and rebuild the project? And finally, try to build "Release" version instead of debug.
This is really weird. What version of Ranorex do you use? Please make sure it's the most recent 9.3.3. Is there any error message displayed in report? I mean, is there generated report at all?

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Ranorex test executable exe file is not working
Hi odklizec,
I am using 9.2.1 version
Is there any error message displayed in report? - Its not creating any report folder or report. Just a blank screen.
have you tried to delete entire bin folder and rebuild the project - Yes
Try to build "Release" version instead of debug.- Tried with this as well.
And surprisingly, its .exe is working on some other machine but it is not working on my machine where actually it is required to run. Can you please suggest any other clue or option that I can try. Because its to weird and its hampering my future tasks as well.
I am using 9.2.1 version
Is there any error message displayed in report? - Its not creating any report folder or report. Just a blank screen.
have you tried to delete entire bin folder and rebuild the project - Yes
Try to build "Release" version instead of debug.- Tried with this as well.
And surprisingly, its .exe is working on some other machine but it is not working on my machine where actually it is required to run. Can you please suggest any other clue or option that I can try. Because its to weird and its hampering my future tasks as well.
Re: Ranorex test executable exe file is not working
Hi,
Well, in my opinion, there are not all required runtime libs installed on the target machine or something is corrupted? Therefore, I would suggest you to check this page and (re)install all required libs for your version:
https://www.ranorex.com/help/latest/ran ... uirements/
Even better, install most recent 9.3.3, which should automatically install all required libs. Debugging a problem with an obsolete Ranorex version is just a waste of time
Well, in my opinion, there are not all required runtime libs installed on the target machine or something is corrupted? Therefore, I would suggest you to check this page and (re)install all required libs for your version:
https://www.ranorex.com/help/latest/ran ... uirements/
Even better, install most recent 9.3.3, which should automatically install all required libs. Debugging a problem with an obsolete Ranorex version is just a waste of time

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Ranorex test executable exe file is not working
Hello Palvi,
I sometimes had similiar problems when running my test suite - in my case the console application, also just showed a black box and did nothing else.
It may sound weird, but in my case, all I need to do, is click or enter some keys inside the console, then it just started working..

I hope, this might help you.
Re: Ranorex test executable exe file is not working
Hello,
Thanks. Its working fine for me. Some services on the machine are restricting it to execute.
But still there some other issues.
In the same solution, I have 2 projects. One is working fine. But for other projects exe its giving the error of "A referral was returned from the server" prompt. Can you please help me it?
Thanks. Its working fine for me. Some services on the machine are restricting it to execute.
But still there some other issues.
In the same solution, I have 2 projects. One is working fine. But for other projects exe its giving the error of "A referral was returned from the server" prompt. Can you please help me it?