Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinAppDriver azure devops task closed before tests #2040

Open
xkasjan77 opened this issue Nov 27, 2024 · 4 comments
Open

WinAppDriver azure devops task closed before tests #2040

xkasjan77 opened this issue Nov 27, 2024 · 4 comments

Comments

@xkasjan77
Copy link

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?

@ntende
Copy link

ntende commented Dec 10, 2024

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

@xkasjan77
Copy link
Author

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()"?

@ntende
Copy link

ntende commented Dec 10, 2024

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.

@Shakevg
Copy link

Shakevg commented Dec 11, 2024

@xkasjan77 Check #1588
#1434

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants