Search code examples
azure-pipelines-release-pipelinevstestvstest.console.exevstest.console

No test is available error while running coded UI test on VSTS deployment group


We have configured release definition to run coded UI tests on VSTS deployment group.

Unable to launch the tests, error details:

Windows Error Reporting DontShowUI not set, if the windows error dialog pops-up in the middle of UI test execution than the test will hang

[debug]Processed: ##vso[task.issue type=warning;]Windows Error Reporting DontShowUI not set, if the windows error dialog pops-up in the middle of UI test execution than the test will hang.

No test is available in c:\test\WorkFlow.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.

How do we resolve this issue as the tests can be initiated manually using vstest.console.exe


Solution

  • Resolved the issue by reconfiguring the agent in interactive mode and not as a service.