Unable to inspect element using inspect.exe.
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.
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:
- VisualUIAVerifyNative => "C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86\UIAVerify\VisualUIAVerifyNative.exe"
- 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.
@sanjayshukla84 anu luck so far? Kinda stuck with the same issue..
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.
I had the same issue https://github.com/microsoft/WinAppDriver/issues/1789#issuecomment-1315339204 Try opening the app before you start inspect.exe It is weird and I have no idea why it did help in my case but it might be worth trying it even for you