Azure CI/CD : WinAppDriver Logs
I am starting WinAppDriver, executing automation scripts and stopping WinAppDriver as part of Azure Release flow. When my test fails, I wanted to see the WinAppDriver logs. Is there any option available?
Following
Hi @VijayHugar, the WinAppdriver Stop task should have the logs printed in it's output.
What are you seeing in your output?
A gotcha re this for me, was the stop task was never running because the test task in between the start and stop task was failing (because of an issue with the winAppdriver starting). Two work arounds I found were, if you are using a private agent, the log file is created in the appropriate task folder under the AzureAgent root folder or set your test task(s) to continue on error so the stop task runs while you troubleshoot the problem.
You can also enable the "Continue on error" flag under Control Options for any Pipelines Task. This will allow you to jump onto the WinAppDriver stop task even if the task prior to it fails.
@KevIvers Thanks for your reply! Your suggested work around solved my problem.