Simulate mouse scroll / scroll without using scroll bar

uiautomation
studio

#1

In web application, you can scroll down & up by using mouse scroll (ie without clicking vertical on scroll bar), Is it possible to simulate this in UiPath ? Let me repeat I don’t want to click on vertical scroll bar.


#2

hello

try to use “Send Hotkey” activity + PgDn

image


#3

Thanks, this will not work for me, because I want to scroll the drop down, have a look at the screentest1


#4

Dropdown allows to use “Send Hotkey” activity + End.
Does it work?


#5

No. in this case it doesnt work


#6

May I ask what is the purpose of scrolling?

Can’t you pass the dynamic date and click on the date?


#7

This is for drop down, the scenario is move to the top of the list ie select the first item.


#8

Are referring to the same exact dropdown( or div) you posted above, in that case wouldn’t the first item be 1 all the time?

It looks like div to me? did you try select item?

Another way you could do is “Find Children” with find_desendents scope and click on first element. (easy way would be children(0) into element parameter)


#9

Yes, it is div & first item is always 1. I haven’t tried select, I am using key strokes.

I am not sure whether select will work in this case. Can you pls share some sample code for both the options that u have specified.


#10

Hi @skini76,
Here is an example for the select activity : Select.xaml (18.2 KB)

As for the find children activity, follow this :slight_smile: https://www.uipath.com/kb-articles/return-all-elements-of-a-table-using-find-all-children-activity


#11

I tried to use select, but got an error message “This control doesn’t support Select item”


#12

Maybe try to record part of your process https://www.uipath.com/tutorials/recording
The select activity will appear if possible to use.
Otherwise find children


#13

you have to click on the div first and the send pgdwn keys. it will work


#14

it will be great if there is scroll activity.


#15

thx, but Div selector is dynamic…hence cannot click on Div…click image is not that reliable