Hi @caulfield2
We kind of worked around it - our application launched 2 processes, the app and a ‘monitor’ process that you can switch off; so we just switched off the setting in the program that launched the monitor. That was why it failed ~50% of the time.
This workaround resolved the issue for us to run our tests, so we never found a way to identify the exact process we need and switch it in Appium.
Before the winappdriver was released I tried using testStack.White (http://teststackwhite.readthedocs.io/en/latest/) where I got around the problem by going through each window, checking the name, then selecting that one, but I didn’t find a way to replicate that in WinAppDriver/Appium.
Hope that helps a bit?
Thanks,
Phil