Deploy ranorex project with trial license
Deploy ranorex project with trial license
Hello, I am trying to deploy my small project for target machine (which don't have ranorex installed) to check whether ranorex can run on my target machine. I copied output to target machine and ran application file but not worked...so my question is can i deploy project with trial license and if no then after purchasing license can ranorex will run normally on any machine with different display settings and no ranorex installed?
Re: Deploy ranorex project with trial license
Hi,
how exactly did you copy the project? Have you followed these instructions?...
https://www.ranorex.com/help/latest/int ... eployment/
It's not enough to simply copy the exe file and ref. data. You must also copy Ranorex libs to the target machine! You can do it either manually, or by enabling Copy runtime to output option in Ranorex settings. Additionally, you can use Ranorex Remote functionality, as described here:
https://www.ranorex.com/help/latest/ran ... roduction/
As for running tests on machine with different display settings, it all depends on how well is your test designed. Especially, it the xpaths are reachable on target machine (if the UI is shrunken or partially outside the visible screen area, etc. ). And if you our tests are using screenshot-based steps, then you are most probably out of luck. In my opinion, it's always better to design tests on machine, on which the tests will be actually running. This should prevent unwelcome surprises and eventual redesign of tests.
how exactly did you copy the project? Have you followed these instructions?...
https://www.ranorex.com/help/latest/int ... eployment/
It's not enough to simply copy the exe file and ref. data. You must also copy Ranorex libs to the target machine! You can do it either manually, or by enabling Copy runtime to output option in Ranorex settings. Additionally, you can use Ranorex Remote functionality, as described here:
https://www.ranorex.com/help/latest/ran ... roduction/
As for running tests on machine with different display settings, it all depends on how well is your test designed. Especially, it the xpaths are reachable on target machine (if the UI is shrunken or partially outside the visible screen area, etc. ). And if you our tests are using screenshot-based steps, then you are most probably out of luck. In my opinion, it's always better to design tests on machine, on which the tests will be actually running. This should prevent unwelcome surprises and eventual redesign of tests.
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: Deploy ranorex project with trial license
Thank you so much. This will help me definitely now i just build test case using screenshots, i will try to use xpath.
Re: Deploy ranorex project with trial license
Hi,
Xpaths are the only correct approach! Screenshot-based TA is definitely bad idea. It's unreliable and in long term run also crazy to maintain
You should use it just in case an element is not recognizable via xpath or GDI Capture approach. And it should be used just for small elements.
Xpaths are the only correct approach! Screenshot-based TA is definitely bad idea. It's unreliable and in long term run also crazy to maintain

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: Deploy ranorex project with trial license
I have one doubt in deploying project to target machine.
step 5 Copy this entire folder to your target machine using the following commands:
xcopy "bin\debug*.*"
xcopy /a
Completely no idea where should i give this commands? please help.
step 5 Copy this entire folder to your target machine using the following commands:
xcopy "bin\debug*.*"
xcopy /a
Completely no idea where should i give this commands? please help.
Re: Deploy ranorex project with trial license
Hi,
Xcopy is a command line tool, so basically, you should use it in command prompt window (cmd). Simply go to Start and type CMD. It should offer you Command Prompt window, where you can use these commands. Eventually, create a batch file, where you can use them at once. And finally, you can also use them directly in Ranorex Studio >> Project properties >> Build Event window, where you can specify post build event commands:
Xcopy is a command line tool, so basically, you should use it in command prompt window (cmd). Simply go to Start and type CMD. It should offer you Command Prompt window, where you can use these commands. Eventually, create a batch file, where you can use them at once. And finally, you can also use them directly in Ranorex Studio >> Project properties >> Build Event window, where you can specify post build event commands:
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: Deploy ranorex project with trial license
Very helpful. Thank you again.