When running tests Ranorex is regularly presenting errors such as the following:
andYou don't have the permission to access this file: C:\Users\.. [Path to Ranorex Solution]...\bin\Debug\...[Recorded module name]...Runner.exe.
The tests do run eventually, sometimes closing and reopening Ranorex is required.Compile Error:Could not write to output file 'c:\Users\. [Path to Ranorex Solution]...\bin\Debug\...[Recorded module name]....Runner.exe' -- 'Access is denied. ' - C:\Users\. [Path to Ranorex Solution]...\bin\Debug\...[Recorded module name]....Runner.exe
The errors are usually displayed after trying to run a recorded module for the second time. I don't know what the cause is, but it seems almost as if Ranorex does not know that the previous test run has finished, even though it has finished and report generated.
Are there any known issues causing errors like these?
Thanks
Edit: not sure if it makes any difference, but just to add the tests are being recorded and ran on a VM.