Hi Team,
We are currently facing issues while trying to build the Ranorex Solution on the TFS Build server through Build Agent.
We are able to build the solution and successfully add the solution to the source control and also successfully checked-in the solution as well. But while building on the server, we are not able to do it due to the attached error. Picture attached.
Please give us your thoughts.
TFS Integration : Build Issues
-
- Posts: 5
- Joined: Mon Aug 15, 2016 4:40 pm
TFS Integration : Build Issues
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5
- Joined: Mon Aug 15, 2016 4:40 pm
Re: TFS Integration : Build Issues
We have installed Test Agent and also the Test Controller in my Local computer from where I am building the solution.
Re: TFS Integration : Build Issues
If you look at the error, it indicates that you are running the test agent as a service.
In order to run any application that must interact with desktop items, the test agent must NOT be run as a SERVICE! This is true for TFS as well as any other CI system (like Jenkins or Bamboo).
In addition, Ranorex, as well as any other Functional automation tool, requires a fully realized desktop which is unlocked and has no screensaver running, otherwise it will not be able to access the desktop model and interact with elements.
In order to run any application that must interact with desktop items, the test agent must NOT be run as a SERVICE! This is true for TFS as well as any other CI system (like Jenkins or Bamboo).
In addition, Ranorex, as well as any other Functional automation tool, requires a fully realized desktop which is unlocked and has no screensaver running, otherwise it will not be able to access the desktop model and interact with elements.
Shortcuts usually aren't...
-
- Posts: 5
- Joined: Mon Aug 15, 2016 4:40 pm
Re: TFS Integration : Build Issues
Thanks for the response. I am not finding any Service under the name Agent.
Is there any way to identify whether we have installed the Test Agent and made it Run as a Service ?
Is there any way to identify whether we have installed the Test Agent and made it Run as a Service ?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: TFS Integration : Build Issues
Hi Venkatesh Katpally,
Usually, You can view and control the agent running status from the Services snap-in. Run services.msc and look for "VSTS Agent (name of your agent)".
More information about running the agent can be found on the Visual Studio Docs.
Hope that helps
Regards,
Markus (S)
Usually, You can view and control the agent running status from the Services snap-in. Run services.msc and look for "VSTS Agent (name of your agent)".
More information about running the agent can be found on the Visual Studio Docs.
Hope that helps

Regards,
Markus (S)