Question
Evonsys
LK
Last activity: 12 Nov 2019 9:44 EST
BOT not recongize the objects that are at below half of the screen.
Hi All,
I've designed a simple automation and when executing an automation observed a behavior that the objects on the same screen are not being recognized by the BOT if the objects are at below half of the screen. For example;
- In normally site came up to screen, it looks as below. (Can see “Next” button)
Hi All,
I've designed a simple automation and when executing an automation observed a behavior that the objects on the same screen are not being recognized by the BOT if the objects are at below half of the screen. For example;
- In normally site came up to screen, it looks as below. (Can see “Next” button)
- But site automating through the BOT, it was not launch as expected. We cannot see the “Next” button as below screenshot. Hence BOT unable to recognize the “Next” object. When scroll up in manually, then can see the Next button.
Is anyone know a way to recognize the objects that are at below half of the screen using any methods, please share with me.
Robotic Studio Version 19.1
Thanks,
Koshila
I would bet that it is not that the bot cannot see objects that are off screen, I would venture that they are not actually there until scrolled into view. That is likely a design-consideration of the site itself. You can probably confirm that through developer tools and identify the contents of the page when you've scrolled and when you have not. I would bet that they are different. If that is indeed the case, then you'll need to get the controls created. In order to make the controls get created, you'll need to identify the action that scrolls them into view and trigger that. You might just be able to do a simple SendKeys to the window and page down a few times, but that would only work if the page retains the items at the top if they are not in view. You'll likely need to examine the workings of the page to trigger the appropriate functions when scrolling to force the controls to get created.