Winappdriver: Unable to inspect element using inspect.exe.

Created on 12 Aug 2019  路  7Comments  路  Source: microsoft/WinAppDriver

I am writing to automate windows installer using Robot framework's "White Library". Using inspect.exe to inspect element and it is giving me error like
Cannot get object from point:
[Error: FromPoint: hr=0xFFFFFFFF80070005 - Access is denied.]
Please help me with this and let me know if you need more information.

Help Wanted

All 7 comments

I'd try running inspect in admin mode and see if that solves the problem (or try a different version of inspect if you have any other Windows 10 SDKs installed).

Also give UI Recorder a shot.

Thanks for your reply. I can see the details in admin mode but still not able to find locators for elements like buttons and getting classname same of every button. Any suggestions?

@sawhneysharad, in that case I would resort to using UI Recorder to generate the XPath for the desired element.

@sawhneysharad Did you tried changing inspect mode? AFAIK it supports either MSAA or UI Automation.

How about other tools? For example:
1) VisualUIAVerifyNative => "C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86\UIAVerify\VisualUIAVerifyNative.exe"
2) UIRecorder - https://github.com/microsoft/WinAppDriver/tree/master/Tools/UIRecorder

@sawhneysharad any luck with this so far? I am into the same problem, I have tried many different inspectors but it only shows me the Title bar(with icon,Title, minimize, maximize and close buttons) of the window. No other children are in the list.
I have tried to read the page source property from C# code using winAppDriver but same, found only title bar.

I have also facing same issue. i have also tried with multiple inspector but it only shows me the Windows title bar.
My Windows desktop application was developed by JUCE framework and C ++ code.

@sohaibjaved44 @sawhneysharad @sagar-ind any luck on this issue. I am also facing same issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Iziksh picture Iziksh  路  3Comments

mdesousa picture mdesousa  路  4Comments

tomw93 picture tomw93  路  4Comments

jsa34 picture jsa34  路  3Comments

didhddldlq picture didhddldlq  路  3Comments