How to get ranorex executable console report to a file

Ask general questions here.
rastek
Posts: 157
Joined: Wed Aug 06, 2014 12:00 pm

How to get ranorex executable console report to a file

Post by rastek » Mon Feb 13, 2017 6:14 pm

Hi, I am calling my compiled ranorex project exe remotely by psesec, is there a wayh to write executable output to some file ? executable opens in a console window when I run remotely and all messages cen seen, however on other side I only get messages of psexec.

User avatar
N612
Posts: 62
Joined: Mon Jul 11, 2016 4:01 pm

Re: How to get ranorex executable console report to a file

Post by N612 » Mon Feb 13, 2017 10:10 pm

I am not familiar with psesec, but will redirecting the output of the test's console help? Use > to pipe the output to a file.

Code: Select all

MyProject.exe > output.txt

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: How to get ranorex executable console report to a file

Post by krstcs » Tue Feb 14, 2017 4:42 pm

I don't believe it is possible to do what you are asking with PSExec.

My suggestion would be to use a real CI tool like Jenkins, which does have real-time command-line views when running jobs, in addition to many other very useful functions.
Shortcuts usually aren't...

rastek
Posts: 157
Joined: Wed Aug 06, 2014 12:00 pm

Re: How to get ranorex executable console report to a file

Post by rastek » Wed Feb 15, 2017 10:12 am

We also user jenkins for CI for test suite starting, I am using psexec for master-remote communication during tests , since I am testing a commnucation client between client, nothing to do with jenkins at that step.