We are using Ranorex 6.1.1 and whenever the test run is completed we get an exception (that is handled by NUnit) stating that an exception was encountered when unloading the domain. I believe I have narrowed this down to a thread that is being run called Ranorex.BackgroundJobQueueWorker-0 ScreenshotWorker.
I believe this thread is still running when NUnit tries to unload the domain and this is causing the exception. I was able to reproduce this by simply calling
Code: Select all
Ranorex.Host.Local.RunApplication("C:\path\to\our\app.exe");
Upgrading Ranorex is not an option at this time.
Any help would be appreciated.