Page 1 of 1

Hwo to open automatically a remote rxzlog copied back to local host in local RX Studio?

Posted: Mon Feb 14, 2022 11:43 am
by MUP
Hi.
We have a lot of RX Studio and RX Agent floating licenses, so from that point all works independent and absolutely fine.

My simple RX solution has 1 testsuite that contains 1 smartfolder with 1 testcase and 1 recording module.
The recording module calls a powershell file to execute a remote based RX AUT created at the agent's machine using a remote RX Studio installation.
The properties tab of the hosts's testsuite presents a "enable report " but if set to enabled that will present only the testcase at the host (means powershell task executes successfully: Green coloured), not the result copied back from the remote.
The working directory in the recording module of the "run app" has been set to the reports folder.

The remote powershell file execution at the agent's machine works well exactly as described in RX CLI documentation including JIRA and Testrail credentials.
At the end it shows "Download 100%" and "Job completed: Success" and "Test execution succeeded" and copying back the rxzlog file back from remote to my host "...\bin\Debug\Reports\..."
All the testcase details are included.

Also the Log of the RX agent contains no errors.
The rxzlog is also present in the RX agent's working tmp folder.

But that rxzlog will not be accepted as a local report.
The plus sign in front of the yellow report folder sign within RX Studio is missing.
If I look at the host in that reports directory I can see the file.
From the host's remote tab I can also see the green marked report and can also open that file.

My question:
How to enable or start via run app the automatic report opening action for the copied back remote rxzlog at the end of execution?

That can also be an add. local testcase having "run app" (but what RX App?) and remote report copy operation again

Many thanks.
------------------------------------------
RX Studio 10.1.6
RX Agent 7.4.0
Win 10 21H2 Pro 64bit (all patches until today) on Local and Remote

Re: Hwo to open automatically a remote rxzlog copied back to local host in local RX Studio?

Posted: Mon Feb 14, 2022 12:32 pm
by MUP
1 answer found, but from 2014, I will give it a try:
https://www.ranorex.info/ranorex-report-view-t5850.html

In RX docum. for use in browser forwarding to the "Boss"
https://www.ranorex.com/blog/share-your ... y-browser/

..................

Does not work in automatic mode via testcase > run app bypassing a rxzlog file as argument
End's up in a select file windows.
Once a file is selected manually it presents the big green ball for Success including all remore executed Testcases.

But how to apply an argument to RX Viewer in a testcase?

...................

In Windows: file extension rxzlog set to open with RX Viewer works.
So topmost rxzlog file could be called directly from within a testcase via run app ... better run filename.rxzlog.
That works.