Ask a Question

Run TestComplete UI Tests from TFS 2020

SOLVED
Tabitha
New Member

Run TestComplete UI Tests from TFS 2020

I created some UI tests with both TestLeft and TestComplete from SmartBear, using integration into VS to run them as VS test items.

With TFS2015, I did install a VSO agent on a physical server, which started in interactive mode (not as a service) on reboot. My build contained the "Visual Studio Test Agent Deployment" step followed by a "Run Functional Tests" step.

With TFS2018, it's a slightly different VSTS agent, and I want to use the "Visual Studio Test" step. Everything is fine and the tests run as long as I have open desktop connection to the server. However if I reboot the server, and the agent starts on reboot, my tests fail with "Unable to initialize TestComplete" due to the need for an interactive workstation.

So I just can't find a way to run the tests from TFS2018 the way they ran from TFS2015.

Edit: I already tried starting a batch file as Administrator containing

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

Re: Run TestComplete UI Tests from TFS 2020

Hi,

 

Have you read the https://support.smartbear.com/testcomplete/docs/working-with/integration/azure/test-adapter/requirem... help topic (last paragraph) ? Didn't it help?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

2 REPLIES 2
AlexKaras
Community Hero

Re: Run TestComplete UI Tests from TFS 2020

Hi,

 

Have you read the https://support.smartbear.com/testcomplete/docs/working-with/integration/azure/test-adapter/requirem... help topic (last paragraph) ? Didn't it help?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

sonya_m
Community Manager

Re: Run TestComplete UI Tests from TFS 2020

Thanks Alex!

 

Hi @Tabitha , does the documentation article help?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: