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 not starting properly while using Appium Inspector #1982
Comments
Installed previous version of WAD and managed to make it work with Appium. Guess there's not an open-source good tool to automate tests in Windows. |
Always use inspect.exe instead of appium inspector. |
You mean the one on this repo: https://github.com/blackrosezy/gui-inspect-tool |
https://github.com/microsoft/WinAppDriver/blob/master/Docs/FAQ.md#what-is-inspectexe |
No the one that comes with windows SDK. |
I'm confused, in order to automate tests in desktop apps using Winappdriver, do I need appium? What references do I use (openQA.Selenium.Appium)? |
Yes. |
OK, so what version of .NET should I use in my project and what are the references/classes for selenium and Windows driver element that I should also use? |
Please check the wiki page. |
Thank you so much for the help. Do you advise any "spy tool" that is able to create the xpath or is "Inspect" able to do it and I'm not seeing it? |
Xpath are very slow in identifying the elements and it's a known issue. I have only used name, classname and automation ID. |
Ok, thanks for the tip. I managed to grab on Inspect the AutimationId or the name of my element. |
If the application is under your control ask the developer to implement properties. |
LOL yes it is under our control but the devs don't care if the elements have properties. It's fine I understand your point of view, because we, testers, need to be able to grab something in order to automate. But unfortunatly devs don't care about testers, at least where I work. |
Also, one more point is that real available controls can be different with inspector.exe. |
Original issue at Appim repo: https://github.com/appium/appium/issues/19880
On Appium repo they told me its a problem with WinAppDriver and this is the reason I'm posting here.
After installing Node.js_20.11.1 LTS I managed to start Appium server successfully.
But still, I'm getting an error while executing the Appium Inspector when I click on "Start Sessions".
These are my "Capabilities":
And I'm starting Appium server with the following command:
appium --address 127.0.0.1 --port 4723
And on Appium server I get the following error:
Appium inspector gives the error:
Failed to create session. An unknown server-side error occurred while processing the command. Original error: WinAppDriver server is not listening within 10000ms timeout. Make sure it could be started manually
How do I fix this, so I can hook my app to Appium Inspector and start identifying the elements on my desktop app (flow2bo)?
The text was updated successfully, but these errors were encountered: