Running Ranorex tests using MTM

Class library usage, coding and language questions.
mweicht
Posts: 3
Joined: Mon Sep 30, 2019 9:19 am

Running Ranorex tests using MTM

Post by mweicht » Mon Apr 27, 2020 1:26 pm

Hi,
my goal is to execute Ranorex tests using VSTest on our Team Foundation Server.
Therefore I have been trying to run my Ranorex tests using MTM following the guide in this blog: https://www.ranorex.com/blog/running-ra ... t-manager/
However I keep getting messages like "The module 'xyz' (with ID {5f147a33-5a83-4cf2-8d2f-9c2008fc884b}) could not be found."
For some reason the solution described in the blog post does not entirely work: I need to add the Executable file rather than the Dll or else Program.vb cannot be found.
Once I have added the Executable, I may run my tests from the Test Explorer, but I keep getting the "module could not be found errors".
I am out of ideas on how to fix this. The TestResults/Out folder seems to contain all required files...

mweicht
Posts: 3
Joined: Mon Sep 30, 2019 9:19 am

Re: Running Ranorex tests using MTM

Post by mweicht » Wed Apr 29, 2020 7:52 am

It works now. Apparently I used an older version of the Ranorex Runtime in my CodedUiTests project (9.1.1) even though my Ranorex tests are created with a newer version (9.2.1).