How to get focus on a popup window? And read their elements?

Hi!,

I am trying to do a web scrapping on an popup window.

I don’t know how focus the popup window. When I use the storetext command and try to select some element of the popup window, the window behind the popup window that gets the focus.

I’ve tried too, use the selectWindow command with the title of the popou, although I 've known that this command is to tabs.

Best,
Leonardo

text of popup window

If you only have a few popups to read (= no high-volume high-speed web scraping needed) then you can use screen scraping with the OCRExtractRelative command:

Hi! Thank you for your support,

I’ve tried to use the OCRExtractRelative command as you suggested. Although, the green and pink boxes didn’t appear. Then I’ve used the SELECT button to extract the information, but when I’ve clicked on the FIND button there was a error message: Cannot find green and/or pink boxes.

Taking advantage of the question, Is it possible to put the focus on a popup window?
Best,
Leonardo

What is your screen resolution? 96dpi or is it a HiDPI display? There is a known issue with finding green/pink boxes on HiDPI displays.

Sure. Do an XClick (image) somewhere on the popup

Hi!,
My resolution is 1920X1080. I will do other tests.
Thank you
Leonardo