Forum Discussion
Thanks a lot, this looks like it's worth trying...tomorrow.
I'll keep you updated if it finally solved the problem and mark your post as answer if it does.
Starting it as interactive is the first step. However, you will still need to make sure that there is a user session logged in with some sort of active UI available. You don't necessarily need to have a monitor up and running or anything like that but you can't click on a UI if there is no UI.
- Florian_Hofmann8 years agoContributor
Thanks a lot, I can now organize and run my tests from Team Foundation Server.
But as Tristaanogre pointed out, I still have to have an active GUI...which I expected, since it was the same when I used to run the tests from batch scripts via the Windows task schedule.
Thing is: The way I understood it, Team Foundation Server itself should be able to open and keep a user session with GUI access, since it uses the build PC as a user to log on to the server where the tests are executed - I thought this would remove the need of a human user logged onto the test execution server.
Anyone can help on this please?
Thanks in advancem
Florian
Edit: The message is "The job has been abandoned because agent xxx-CI-Agent did not renew the lock. Ensure agent is running, not sleeping, and has not lost communication with the service.", which might be a TFS issue of its own, rather than an error in my approach...
- Colin_McCrae8 years agoCommunity Hero
We have a build guy who deals with this stuff, so I've never been involved directly, but you may get some helpful suggestions here:
http://stackoverflow.com/questions/17955554/running-automated-ui-tests-as-part-of-ci
... your options sound like they'll depend on the version of TFS you're using. I see TeamCity mentioned in there. That's what our build guy was using to trigger my automated tests .... which required an active user session/GUI.
- Florian_Hofmann8 years agoContributor
I decided to mark as solved, since the problem described in the title and my first post are solved, and the "new" issue seems to be TFS only rather than having to do with TestComplete:
TFS can not even deploy the test agent on the build PC without me having an open remote desktop connection, saying "The job has been abandoned because agent XX did not renew the lock. Ensure agent is running, not sleeping, and has not lost communication with the service."
Thanks to everyone who contributed here.
Related Content
Recent Discussions
- 8 hours agosimonaferrara
- 16 hours agoSubhraDas
- 2 days agotramuntana