Azure Devops Ranorex reports can't be shown

Ranorex Studio, Spy, Recorder, and Driver.
KJG
Posts: 18
Joined: Wed Jul 18, 2018 9:08 am

Azure Devops Ranorex reports can't be shown

Post by KJG » Mon Mar 21, 2022 4:20 pm

I am a nooby with Devops. I have set up a simple Rx test suite with one recording and it runs under the devops CI pipeline ok but ...
If I run the test suite from Rx studio I get errors instead of the report as follows: -
The data file (Recording1_20220321_142735.rxlog.data) or transformation cannot be accessed. Possible reasons include:
- The file does not exist in the current location.
- Chrome-based browsers and Firefox cannot load local data files with file:// URLs without allowing file access.
- The test run is in progress and the data file is locked due to frequent saving operations.
- Wait until the test run has finished and increase the auto-save interval of the report for future test executions.
- The report contains invalid XML/XHTML, e.g. unclosed tags. Check code that uses the Report.LogHtml method to only log well-formed XHTML.

I have checked the permissions of the reports folder and I am logged in and running Rx as administrator. The console log is looking fine ...
[2022/03/21 15:11:08.095][Debug ][Logger]: Console logger starting.
[2022/03/21 15:11:08.673][Info ][Test]: Test Suite 'Load_Notepad_Paste_Validate_Close' started.
[2022/03/21 15:11:08.689][Info ][Test]: Test Case 'TestCase' started.
[2022/03/21 15:11:08.720][Info ][Test]: Test Module 'StartAUT' started.
[2022/03/21 15:11:08.735][Success][Test]: Test Module 'StartAUT' completed with status 'Success'.
[2022/03/21 15:11:08.751][Info ][Test]: Test Module 'Recording1' started.
[2022/03/21 15:11:08.876][Info ][Mouse]: Mouse Left Click item 'Explorer.Start' at 26;16.
[2022/03/21 15:11:12.996][Info ][Keyboard]: Key sequence 'notepad'.
[2022/03/21 15:11:13.463][Info ][Delay]: Waiting for 1s.
[2022/03/21 15:11:14.562][Info ][Keyboard]: Key sequence '{Return}'.
[2022/03/21 15:11:14.862][Info ][Mouse]: Mouse Left Click item 'UntitledNotepad.Text15' at Center.
[2022/03/21 15:11:15.902][Info ][Keyboard]: Key sequence '1234567' with focus on 'UntitledNotepad.Text15'.
[2022/03/21 15:11:16.204][Info ][Validation]: (Optional Action)
Deliberate failure
Validating AttributeEqual (Text='1234567') on item 'UntitledNotepad.Text15'.
[2022/03/21 15:11:16.359][Success][Validation]: Attribute 'Text' of element for item 'Load_Notepad_Paste_Validate_CloseRepository.UntitledNotepad.Text15' does match the specified value.
[2022/03/21 15:11:16.547][Info ][Mouse]: Mouse Left Click item 'UntitledNotepad.Close' at 23;15.
[2022/03/21 15:11:17.171][Info ][Mouse]: Mouse Left Click item 'Notepad.DontSave' at Center.
[2022/03/21 15:11:18.579][Success][Test]: Test Module 'Recording1' completed with status 'Success'.
[2022/03/21 15:11:18.596][Info ][Test]: Test Module 'CloseAUT' started.
[2022/03/21 15:11:18.597][Success][Test]: Test Module 'CloseAUT' completed with status 'Success'.
[2022/03/21 15:11:18.599][Success][Test]: Test Case 'TestCase' completed with status 'Success'.
[2022/03/21 15:11:18.619][Success][Test]: Test Suite 'Load_Notepad_Paste_Validate_Close' completed with status 'Success'.
[2022/03/21 15:11:18.952][Debug ][Logger]: Console logger stopping.


Thanks for your help in advance.
Rx 10.1.3

KJG
Posts: 18
Joined: Wed Jul 18, 2018 9:08 am

Re: Azure Devops Ranorex reports can't be shown

Post by KJG » Tue Mar 22, 2022 4:25 pm

In case anyone has an answer, may I supply further information. I have produced a project which runs fine. It is in the Devops projects folder and I wanted to add it to source control. Before I add to GIT, the ranorex reports worked ok.
Now I have added the project to git and it is appearing in my Devops Repo\files, the reports will not work, even if I run the project from Ranorex Studio.

Does that give anyone a clue what is happening here?