cancel
Showing results for 
Search instead for 
Did you mean: 

Integration Issues

SOLVED
BallerSanta2
Occasional Contributor

Integration Issues

I am attempting to integrate TestComplete into AzureDevops. I have everything setup, but when I have the build run it always tells me, "TestExecute Lite cannot work under the NETWORK_SERVICE account."

Not sure if I can change the configuration, but am quite desperate for assistance.

1 ACCEPTED SOLUTION

Accepted Solutions
tphillips
Community Leader

Re: Integration Issues

Yeah I have done some DevOps integration. I have used the TestComplete Test Adapter but I found it to not have all the features from TestComplete that I was used to. Instead I have a shell step that runs testcomplete/testexecute from the command line, and exports the test results (along with a junit that can be archived by the pipeline).

 

I generally use an agent script to start the Azure agent (from an admin prompt), and we use a self-hosted agent with TestComplete installed.


--------------------
QA Systems Architect

View solution in original post

7 REPLIES 7
BallerSanta2
Occasional Contributor

Re: Integration Issues

Furthermore, if you need any information on how I integrated or anything I can explain that, just wondering if anyone else has seen this specifically

sonya_m
Community Manager

Re: Integration Issues

Hi @BallerSanta2 !

I found a help topic that could be of interest to you - https://support.smartbear.com/testcomplete/docs/working-with/integration/azure/test-adapter/build-pi...

This might be connected with choosing a test runner that can work with an agent of a specific type.

 

Also, I'd recommend opening a ticket with Support if this doesn't help. 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
BallerSanta2
Occasional Contributor

Re: Integration Issues

Hey, I followed that and it does work, the only issue I am having now is it will refer to the tests, but they won't do anything? Will just say that 0 tests were ran.

sonya_m
Community Manager

Re: Integration Issues

Glad we could figure part of this question out, @anupamchampati @tphillips @Wamboo @Reshail is anyone doing Azure DevOps integration?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
tphillips
Community Leader

Re: Integration Issues

Yeah I have done some DevOps integration. I have used the TestComplete Test Adapter but I found it to not have all the features from TestComplete that I was used to. Instead I have a shell step that runs testcomplete/testexecute from the command line, and exports the test results (along with a junit that can be archived by the pipeline).

 

I generally use an agent script to start the Azure agent (from an admin prompt), and we use a self-hosted agent with TestComplete installed.


--------------------
QA Systems Architect

View solution in original post

BallerSanta2
Occasional Contributor

Re: Integration Issues

Hi tphillips,

 

I had just thought about using a powershell script to run testexecute on the machine, although I haven't figured out the exact way how too, in which way are you able to export it into the azure pipeline?

 

Thankyou, 

Mason Westervelt

tphillips
Community Leader

Re: Integration Issues

Pass the /ExportSummary:file_Name option to TestExecute/TestComplete, then add a "Publish Test Results" step to your pipeline, selecting JUnit as the Test Result Format. We use the "Fail if there are test failures" option so the pipeline gets marked as a failure if any tests fail. For this reason it's probably best to have this step run as the last step.


--------------------
QA Systems Architect
New Here?
Join us and watch the welcome video:
Announcements