WinAppDriver
WinAppDriver copied to clipboard
getPageSource() doesnot capture all window elements. NoSuchElement exception.
Hi,
I am working on automating windows based Classic .Net Desktop application using WinAppDriver.
.getPageSource() is not displaying all the elements.
Attaching the screenshot from inspect.exe.
Below is the pageSource:
I am unable to identify the elements inside Window.
In PageSource only the Window and Title Bar is displayed. All other elements inside the Window are missing.
PageSource:
Other elements such as TabControl etc are not identified. Any help appreciated.
Hi @umadevisk89,
Can you try sharing the tool/application (or tell us where we can download it) so we can repro this?
Also an updated screenshot of Inspect.exe focused on the right window (right now it is focused on the snipping tool) would help as well!
Thanks
Hi @hassanuz ,
Can you share your mail id so that I can share the app?
Thanks
Yes - please do reach out to me at [email protected]
Thanks. Shared the file. Please have a look into it.
I'm having trouble similar to the mentioned problem. I am using WinAppdriver to automate our custom application. The application is launched, i am able to login by entering username and password and clicking login button. However after loggin in, another window opens up, where in i cannot perform action on any of the controls. I am using AutomationId to identify the control, however it says "no such element found". session.PageSource does not contain the newer window objects. However the window handle is correct
I have a similar problem; I can see the app I'm trying to automate in inspect.exe, but if I try to use FindElementByxxx I get "no such element found", and if I dump Root's PageSource, I can see all the other running apps, but not this one. It is a proprietary app with a complicated setup, so I can't upload a sample setup, but I can upload images of the inspect window and the PageSource xml if that would help.
Seeing the same issue, did anyone ever find a solution?
I'm also having this problem. Any updates on this issue?
Did anyone solve this issue? I am not getting the screen elements of the presented screen