Reputation: 751
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
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
Upvotes: 0
Views: 1306
Reputation: 751
Resolved the issue by reconfiguring the agent in interactive mode and not as a service.
Upvotes: 0
Reputation: 30362
First of all make sure the agent machine has the VS 2017 Enterprise installed, as other versions don't support the Coded UI Testing, please see Compare Visual Studio 2017 IDEs -Testing Tools for details.
Besides, please check which version of VSTest platform
nuget package do you use. Coded UI and UWP tests not support with previous VSTest platform nuget packages. Just try using the latest version, then try it again. Refer to this thread for details: https://github.com/Microsoft/vstest/issues/1353
Other similar issues for your reference:
Upvotes: 1