Hi,
I want to automate the process of scrolling the vertical bar down till the end in a desktop application. I have been reading solutions that suggest the use of ‘Send Hot keys’ and selecting CTRL+ end/down/or pgdn but none of them worked for me. The only way I got it to work is to count the number of clicks I need to reach the end of the scroll bar, then use a ‘Click’ activity on the bar inside a loop that runs for the number of clicks I need. This works but it is actually slow depending on the number of clicks for the loop. In my case it is 100. Is there any other solutions to automate the scroll activity?
Many thanks in advance.
Maha
Use send Hotkey as
Ctrl+end
Thank for your quick reply!
I tried it but It doesn’t work for me. I need to reach the end of the scroll bar.
It will reach u at end of the page whats problem u r getting?
EndOfPage.xaml (6.8 KB)
I have attach a demo for this check out
I couldn’t load the file. Here’s the error message:
Could not find member ‘Id’ in type ‘http://schemas.uipath.com/workflow/activities:Target ’. Row: 81, Column: 75
1 Like
Srini84
(Srinivas Kadamati)
June 16, 2020, 10:22am
7
@maha.maabar
If you have any unique element in the end of the page, just select that element use Set Focus activity to that element
This is a workaround solution for avoiding hotkeys
Hope this helps
Thanks
1 Like
String.Join(“”,Enumerable.Repeat(“pgdn”,100))
as you said in your case you have to click 100 times ?? right?? this can help you!
you can use this method to scroll down to the page end 100 is number to time you are pressing DownArrow
Try and let me know if this helps you out!
Cheers
@maha.maabar
I used ‘Set Focus’ activity and selected the down arrow element at the end of the vertical scroll bar but it didn’t work
What activity I should use for this command? I used ‘Type Into’ activity and selected the scroll bar but it didn’t work.
1 Like
I did and it typed PGDNPGDNPGDNPGDN in the page!
I also clicked on ‘Indicate on screen’ and then clicked on the scroll bar but it didn’t work?
1 Like
Did you try above method??
@maha.maabar
@maha.maabar Can you provide a Screenshot of the Bottom part of the page?
can u please tell how i use this method for scrolling tool bar
1 Like
you can use the same method, or you can even check the Scroll bar Attributes and Increment the scroll down value.
Cheers
hello Pradeep method is not working…i tried many times…but i donot know how i check scroll bar attributes…could u tell me how i do this.?
could u tell me how u do this …click activity in for loop as my no of clicks are less ???