cancel
Showing results for 
Search instead for 
Did you mean: 

The COMException exception occurred during the test run: No tests have been executed yet..

SOLVED
Highlighted
Occasional Contributor

The COMException exception occurred during the test run: No tests have been executed yet..

Hello,

 

I’m having some trouble setting up overnight test runs using Azure DevOps Team Foundation Server:  I have, I think, set things up to run using a Test Plan as outlined in:

https://support.smartbear.com/testcomplete/docs/working-with/integration/azure/test-adapter/build-pi...

When I queue the Pipeline I get an error:

 

##[error]RunMessage : The COMException exception occurred during the test run: No tests have been executed yet..

 

For each test in the TestPlan:  If I try and run a Test using Test assemblies, when I look at the log the same COMException error is shown.

 

Could anyone help me to work out what is causing this error to be thrown?

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: The COMException exception occurred during the test run: No tests have been executed yet..

Hi @DanH , as far as I can see, you've found a solution working together with the Support Team. 

After fixing some missing dependencies everything seems to work for you. Great news!

 

Also, let me quote the Support Team about how the next version of the TestComplete adapter will handle similar situations:

 

>>

Because of this error, TestComplete cannot run any tests. The next version of the TestComplete adapter will handle this situation differently: it'll post the exact error message to the log and only exclude the problematic project from running

<<


Sonya Mihaljova
Community and Education Specialist

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!

View solution in original post

3 REPLIES 3
Highlighted
Staff

Re: The COMException exception occurred during the test run: No tests have been executed yet..

could you attach some screenshots please?

Do you have the agents configured correctly, and the builds pointing to the agent pool with the online agents?

Do you have the remote repository pointing to the correct level of the directory level? to the .PJS extension and not the .MDS extension?

At which build step is it failing? (in terms of the test components i.e vs installer, testcomplete plugin, vs test assemblies, etc any other plugins)

I have a feeling that it's failing during the vs test assemblies step - where you need to specify within the dropdown the "installed by tools installer option"

after that, you need to provide it elevated permissions (if the tests keep on failing) 

--- try modifying the vs test assemblies tools installer option, and let us know if the problem persists; if so, please add some screenshots from various configuration options, and the build logs, and etc.

 

Hope this helps!

Best,
Justin Kim
Highlighted
Occasional Contributor

Re: The COMException exception occurred during the test run: No tests have been executed yet..

Hi Justin,

 

Thanks for your suggestions:  I've just reconfigured the agents and it still works.  I've got a ticket open that I'm working through:  I'll keep you posted how it goes.

 

Thanks again.

 

Dan

Highlighted
Community Manager

Re: The COMException exception occurred during the test run: No tests have been executed yet..

Hi @DanH , as far as I can see, you've found a solution working together with the Support Team. 

After fixing some missing dependencies everything seems to work for you. Great news!

 

Also, let me quote the Support Team about how the next version of the TestComplete adapter will handle similar situations:

 

>>

Because of this error, TestComplete cannot run any tests. The next version of the TestComplete adapter will handle this situation differently: it'll post the exact error message to the log and only exclude the problematic project from running

<<


Sonya Mihaljova
Community and Education Specialist

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!

View solution in original post