Uipath mouse scroll able to identify element even it is not fully. visible

Hello Everyone,

UiPath is identifying elements which are not visible. I want to scroll to the desired element and select it. But UiPath is not scrolling till the element and since it is giving wrong selection.


I want the mouse to scroll to the element. Which I have set “Scroll to element”.

Please help thankyou

Have you set visibility to “fully visible” in the properties?

Anyway, try the Set Focus activity. I find it more straightforward and useful for scrolling to an element.

1 Like

@BHUSHAN_NAGAONKAR1,

Try setting the cursor motion to Smooth and Input Mode = Hardware Event.

Thanks,
Ashok :slight_smile:

1 Like

Will try set focus activity and update the same

Will definitely take a look into it and will update you the same.

Can you pleaese share a flow for set focus activity how should I use it?

Hi, thanks for help I tried but this is not working.

You should click the reply button for whoever you’re actually replying to, instead of replying to yourself.

Set Focus is a simple activity. Indicate the element and it will scroll to it. I’m not sure what else you need to know.

I actually tried using setfocus, it didnt scroll to the element

Did you get an error or did it just do nothing?

Is this in an app or a web page?

Looking at your screenshots, are you trying to scroll to something within one of those boxes? That’s entirely different than scrolling the main page/window itself.

You may need to click the first item before Set Focus (or Scroll) so that the scrolling is sent to the box itself. But that still might not work.

You might have to use a Do While, and inside it click the down scroll button then Check App State to see if the one you’re looking for is visible. The condition for your Do While would be that the element is not yet visible.

I’m curious why you’re trying to scroll. Why do you need to?

So the scenario is, I need to scroll in those boxes. I want to find element is which is not visible. I need to scroll until the element is visible in one of those two lines. the problem is the idx keeps on changing after few boxes.

WHY do you need to scroll in those boxes? What are you doing after scrolling?

I finding the template name. Above you can see there are 2. There are many more below

What do you mean finding the template name? Do you need to click it or something? Please give DETAILS of what you’re doing or we cannot help you.

As you can see sbove in the given image"10May21Template" those are template name. I need to scroll the template name which is passed in variable. I need to click the template that has been passed through variable

You don’t have to scroll to it to click it. Just use a Click activity, set to input mode Simulate (Chromium may work but you haven’t told us if it’s an app or web page), and create a dynamic selector with the variable.

Its an app. But how will it reach to a desired element. Because there are multiple templates we can only get there via scrolling.

It doesn’t have to reach the element, that’s the point of simulate. It gives click commands etc under the hood, not by moving the mouse.

I have uncheck simulate, but even mouse doesnt even scroll to the element.

I didn’t say uncheck simulate, I said USE simulate. And if you’re checking/unchecking it, it sounds like you’re working in classic. It is long past time for you to be working in modern. With simulate, it doesn’t have to - and won’t - scroll to the item. It sends the click under the hood, not by moving the mouse around.