cancel
Showing results for 
Search instead for 
Did you mean: 

mouse scroll for a web page

Miya
Level 5
Hi,

  I am trying to reach to specific line on a web page where page down, page up , upward and downward key doesnt work, currently the only option we have is mouse scroll, can some one suggest what is the key stoke for mouse scroll

------------------------------
Miya
------------------------------
12 REPLIES 12

PvD_SE
Level 12
Perhaps:
https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&MID=2269&CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&tab=digestviewer

------------------------------
Happy coding!
---------------
Paul
Sweden
------------------------------
Happy coding!
Paul, Sweden
(By all means, do not mark this as the best answer!)

Hi, could you share again this link? because it doesn't working.

Hi @Miya , you can do it with 2 methods

Browser method: simply identify the element with browser mode then with a navigate stage you use the scroll to action

Mohamad_747_0-1716466042036.png

 

UI method: you find an anchor, you model it with UI mode then 

1. activate window

2. Global Mouse Click Center on that anchor

3. you do a send key {DOWN} x times until you reach the element in question

You can test manually by clicking on an element then pressing the down key on your keyboard and you will see it go down

 

Hope it will help you

oh, thank you for your reply. Generally, I'm looking for a solution for mouse movement and checking all related posts. Can you help with this?

Hi @Ernest1 , can you give me more details screen shot or something else ?

I just want to avoid the sleep screen, that's it.

Hi, 

If I understood correctly, do you have to click on the multiple links one web page? 

 

Solution: 

1. Try to find the web path/x Path of each links, make it as a wildcard see the screenshot below(high-lighted yellow): (it might differ from your object/application)

Chakkravarthi_PR_0-1716468825473.png

2. Make the web Text as Dynamic (scratched in Red), and add a logic to get the value as a text/number 

Chakkravarthi_PR_2-1716469091886.png

3. Drag and drop Navigate Action: which looks like this

Chakkravarthi_PR_3-1716469219371.png

4. Parameters are the dynamic value which you have got from Step 2, Pass it as a dynamic value which looks something like this: 

Chakkravarthi_PR_4-1716469327978.png

Chakkravarthi_PR_5-1716469533310.png

 

5. Try to add a loop to navigate to each and every item/link on the page.

 

 

 

You can download the lastest version of VBO "Utility - General"  present in dx : https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---general

Add a new action and call it move cursor like this  : 

Mohamad_747_2-1716470863902.png

 

For inputs provide this :

Mohamad_747_0-1716470716399.png

Inside the code field put this : 

Cursor.Position = new Point(X,Y);

Mohamad_747_1-1716470769676.png

This code will allow you to move your cursor on the X and Y coordinates that you will provide. For instance yoou can provide 100 for X and 200 for Y it will move for the point without click.

 

Hope it will help you

Ernest1
Level 5

Sorry for your misunderstandig, but my first question was about the link pasted by "PvD_SE" because I can't open it. Do you know how to open it?

Generally, I am looking for a solution that will allow me to move the mouse cursor around the screen (any movement) to avoid the sleep screen on the monitor/vm -> I can't change this on settings.