WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

WinAppDriver azure devops task closed before tests

Open xkasjan77 opened this issue 1 year ago • 4 comments

Hi,

Like in the title - I've added WinAppDriver as a task into azure stage to not use simply python method with os.startfile. But the problem is that process is closing before next task starts. Is it better to run and close process by python script or azure task will be good but I need configuration for this?

xkasjan77 avatar Nov 27 '24 09:11 xkasjan77

How are you adding WinAppDriver task ?, are you adding the condition : always () ? as well ?

ntende avatar Dec 10 '24 11:12 ntende

I add winappdriver task through stage tasks in releases. This is standard configuration https://imgur.com/a/jFcCqXi

What and where is this condition "always()"?

xkasjan77 avatar Dec 10 '24 12:12 xkasjan77

Assumed it was a yaml pipeline with the task as in this demo https://github.com/microsoft/WinAppDriver/blob/master/Samples/JavaScript/.ado/azure-pipelines.yml but add ccondition: always() and inputs OperationType: "Start" for the start and then stop for the stop task. works for me.

ntende avatar Dec 10 '24 14:12 ntende

@xkasjan77 Check https://github.com/microsoft/WinAppDriver/issues/1588 https://github.com/microsoft/WinAppDriver/issues/1434

Shakevg avatar Dec 11 '24 12:12 Shakevg