Problem while using uiautomation elements

Hello everyone,
I’m working on a vm and i want to work on a web application.
When i use “use application/browser” or any uiautomation element, i can’t get the whole page (like the image below)
Can anyone know the reason please?
Thank you an advance


@Dhouha_Cherif

Is the resolution and zoom of your desktop are changed?

Can you check the selector may be its not highlighting whole because of zoom or external monitor but the sleector might be for whole window

Cheers

Hi @Dhouha_Cherif

It could be a possibility that the size of the web page might exceed the visible area of your screen, causing UI automation to capture only the visible portion. This commonly happens with long web pages or pages with extensive content. You may need to scroll the page programmatically and capture screenshots in sections to obtain the entire page.

Thanks!!

Hi @Dhouha_Cherif ,

I did face the same kind of issue, you would have to change resolution while connecting to VM.
I faced this in VMWare Horizon, the resolution would have to be changed, that’s the only solution.

image

Hope this helps!

Regards,
Aditya

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.