Report not copied to Report file directory when test suite executed remotely

Ranorex Spy, Recorder, and Studio.
rka
Posts: 19
Joined: Fri Jul 03, 2015 7:54 am

Report not copied to Report file directory when test suite executed remotely

Post by rka » Thu Aug 13, 2020 9:01 am

Hello dear Ranorexers,

in my current project I want to save the reports in a given folder. The following property settings in the Report tab are given:

- Enable report is checked
- Report file directory: M:\RanorexReports\TestSuiteXY (this is a network drive, the remote machine has write permissions which I checked by browsing to the folder on this machine and creating a file in it)
- Report file: %S_%Y.%M.%D_%T_%X.rxlog
- Auto save interval: 30
- Timestamp: Wall clock (machine time)
- Create a compressed copy of the report is checked
- Create a JUnit compatible copy of the report is unchecked

When I start the testsuite on my machine, the report is generated and saved to the report file directory.
When I start the testuite on a remote machine via agent, the report is being created and accessible from within the Remote tab, but it is not copied to the specified folder. The folder M:\RanorexReports\TestSuiteXY has been created on the machine beforehand.

- Ranorex version is 9.3.1

This is the content of the log from the agent:

Code: Select all

09:47:31.1317 Info: Agent started (v7.1.0+c4e00be3)
09:48:09.2939 Info: EventId:5 Job changed:  -> Job 80 in state Queued issued by <person>.
09:48:09.3649 Info: EventId:5 Job changed: Job 80 in state Queued issued by <person> -> Job 80 in state Executing issued by <person>.
09:48:09.3649 Info: Received new job with id '80' issued from 
09:48:09.3989 Info: EventId:6 AgentChanged: Agent(Id=1 Name=XXXXX DisplayName=Testrechner07 State=Idle StateDetail=Test results published LastUpdated=01.01.0001 00:00:00 +00:00 Tags=) -> Agent(Id=1 Name=XXXXX DisplayName=Testrechner07 State=ExecutingTestSuite StateDetail=Test results published LastUpdated=01.01.0001 00:00:00 +00:00 Tags=).
09:48:09.4159 Info: Cleanup directory...
09:48:09.4999 Info: Extracting files from 'http://<ip>:8081/api/files/C:/ProgramData/Ranorex Agent/Uploads/502f12819980f03465f31538df4a9294.zip' to local execution directory C:\Users\usr9026\AppData\Local\Temp\Ranorex\502f12819980f03465f31538df4a9294\.
09:48:11.0719 Info: All files copied.
09:48:11.0749 Info: Validating Ranorex runtime...
09:48:11.2569 Info: Ranorex runtime validated. [9.3.1.0]
09:48:11.2569 Info: Searching for binary test executable in 'C:\Users\usr9026\AppData\Local\Temp\Ranorex\502f12819980f03465f31538df4a9294\'.
09:48:11.2659 Info: Executing "Enercity.exe" /zr /ts:"MyTestSuite.rxtst" /rc:"TestRun"
09:48:13.4749 Info: Ranorex.Dex.Common.Types.Progress.TestExeState (several times)
...
09:50:39.1538 Info: Execution finished with result Success
09:50:39.1627 Info: Publishing test results
09:50:39.2178 Info: Job finished
09:50:39.2178 Info: Publishing C:\Users\usr9026\AppData\Local\Temp\Ranorex\502f12819980f03465f31538df4a9294\MyTestSuite_2020.08.13_094812_Success.rxzlog to http://<ip>:8081/api/files/C:/ProgramData/Ranorex Agent/Uploads/files/
09:50:39.2178 Info: Saving job results ...
09:50:39.2178 Info: Test results published
09:50:39.2378 Info: ...Test results saved
09:50:39.2378 Info: EventId:5 Job changed: Job 80 in state Executing issued by <person> -> Job 80 in state Executed issued by <person>.
09:50:39.3552 Info: EventId:6 AgentChanged: Agent(Id=1 Name=XXXXX DisplayName=Testrechner07 State=ExecutingTestSuite StateDetail=Test results published LastUpdated=01.01.0001 00:00:00 +00:00 Tags=) -> Agent(Id=1 Name=XXXXX DisplayName=Testrechner07 State=Idle StateDetail=Test results published LastUpdated=01.01.0001 00:00:00 +00:00 Tags=).
Do you have any clue why this doesn't work?

Thank you for any help in advance,
best regards,
Rafael

User avatar
Support Team
Site Admin
Site Admin
Posts: 12143
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Report not copied to Report file directory when test suite executed remotely

Post by Support Team » Mon Sep 14, 2020 6:58 pm

Hi!

Please contact us via the links below and we will be more than happy to further assist you with this!

Existing Customer: https://www.ranorex.com/support-query
Evaluation Customer: https://www.ranorex.com/prices/contact/

Kind Regards,
Ranorex Team
.
Image