TestComplete and vsTest in DevOps, Test Agent throwing exceptions when project is integrated w/TFVC
Similar tohttps://community.smartbear.com/t5/TestComplete-General-Discussions/Failed-to-initialize-the-tfs-api-library/td-p/169418, the solution for whom is insufficient. I've recently started trying to implement TestComplete tests as part of our DevOps Testing release pipeline. I've currently got what is effectively a proof of concept test project in place; it doesn't do anying complex, just pushes some buttons and completes. Everything operates as expected, except each time the release pipeline runs per agent I get a pop-up to the effect that the Microsoft.TeamFoundation.Client assembly cannot be loaded. The entire process halts until this (And sometimes other, effecitvely identical) popup(s) are manually cleared. I understand from the previously linked post that this is due to my utilizing the in-client TFS Source Control integration, but that leaves me at an impasse. If I remove that integration then the errors will disappear, but I'll have to find another, more error prone method of source control for this and future projects. If I leave the integration in, my Automated testing suites will require manual intervention each time which is cumbersome and not scalable. Is there any way to disable Source Control connection on startup, since there really is no need for it to connect just to run some tests? Is there a separate process I could use to run these tests that wouldn't invoke the TestComplete client?Solved1.5KViews0likes5Comments