Forum Discussion

mhoult22's avatar
mhoult22
Occasional Contributor
2 years ago

TestExecute Warnings show as Errors in Azure Pipeline

Since updating TC and TE to Version: 15.58.9.7 x64 we are seeing issues running tests in our Azure release pipeline.

We have test scripts running using the TestComplete adaptor (TestExecute as "preferred test runner"), and Visual Studio Test.

If a test step completes with a Log.Warning, then now this is being treated by the pipeline as an error and is failing the test run.  To workaround this we have had to change all instances in our test code of Log.Warning to Log.Message. 

An example of a warning in the pipeline is:

##[error]RunMessage : Task 1_2: Modify list settings tab test: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

If I look in TestComplete at the log of this "error" it is actually only a Warning, but the pipeline is reading it as an error.

This is new behavior since we updated TC and TE to the latest release.

Please could anyone help advise about this issue?

Thank you.

 

 

  • I would report that directly to Support. Here's the link:

    https://support.smartbear.com/testcomplete/message/

    • mhoult22's avatar
      mhoult22
      Occasional Contributor

      Thank you.  Case logged 00587108

      • Marsha_R's avatar
        Marsha_R
        Moderator

        Please post the answer here when you hear back. Thanks!