I'm trying to run my automated Ranorex UI tests through teamcity ,which were created using Visual Studio IDE. I've created the a configuration on teamcity to do the build and run the tests using MSTest. I want these tests to be executed on a remote machine , which I have logged into and also have kept desktop visible to enable user interaction as mentioned in http://www.ranorex.com/support/user-gui ... norex.html
I've also disabled my Teamcity agent service and started it using the command line as mentioned in http://www.ranorex.com/blog/integrating ... ci-process that "To run Ranorex automation on your build agents, you have to make sure not to start them as a windows service since a service does not have sufficient rights to start UI-applications. "
However, the application that I want lo load isn't started and the test fails at the next step where it searches for controls in that application window based on the Rxpath provided.( "No element found for path '/form[@title='Region' and @enabled='True']' within 10s")
I'm using the following line of code to start the application and it works fine on my local machine:
Code: Select all
Could someone please suggest what can I do for the process to start the application on the remote machine?