WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

Azure CI/CD : WinAppDriver Logs

Open VijayHugar opened this issue 7 years ago • 5 comments

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?

VijayHugar avatar Nov 14 '19 12:11 VijayHugar

Following

naeemakram avatar Nov 14 '19 13:11 naeemakram

Hi @VijayHugar, the WinAppdriver Stop task should have the logs printed in it's output.

What are you seeing in your output?

hassanuz avatar Nov 18 '19 21:11 hassanuz

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.

KevIvers avatar Nov 19 '19 09:11 KevIvers

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.

hassanuz avatar Nov 25 '19 20:11 hassanuz

@KevIvers Thanks for your reply! Your suggested work around solved my problem.

VijayHugar avatar Nov 26 '19 08:11 VijayHugar