I have a desktop app I am testing that is launched through an API (using JavaScript). I am able to launch the app by making a few API calls, but I need something that can shift the context to the open desktop app so I can automate testing it.
This is my approach:
- Call API to launch app
- Switch to the open app to take control of it
- Automate testing things in the app
I know WinAppDriver can launch apps, like Calculator, but I'm not sure it can "switch" to an already open app.