Forum Discussion

mhoult22's avatar
Occasional Contributor
8 months ago

TestExecute Warnings show as Errors in Azure Pipeline

Since updating TC and TE to Version: 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.



3 Replies

  • Marsha_R's avatar
    Champion Level 3

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

      • Marsha_R's avatar
        Champion Level 3

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