microsoft / WinAppDriver

Windows Application Driver
MIT License
3.68k stars 1.4k forks source link

WPF and Appium and Azure AD pop up #1622

Open rodsantest1 opened 2 years ago

rodsantest1 commented 2 years ago

Here’s an unusual startup for WPF application that’s making it very difficult to begin automated testing. The main window first appears briefly, then disappears, the Azure AD login then appears. I don’t know what my ms testing app is doing at this point? It doesn’t seem to be focused on that Microsoft Azure AD login screen but I don’t know how to troubleshoot it. Any ideas? If I manually login the test continues fine. SMH.

anunay1 commented 2 years ago

You need to create a root session and then switch to the Microsoft Azure AD login screen.