Scrollbar issue

Asked by Jyoti Sharma on 2017-06-28

How to scroll down with sikuli in selenium webdriver with java?

I am using screen.wheel(1 , 8); in my code to scroll down in an open window.

Sometimes it works fine but after running my script 4-5 times it behaves differently. Instead of scrolling vertically it starts scrolling horizontally.

s.doubleClick("C:\\SikuliX\\Images\\C_Drive.png");
    s.wheel( 1, 8);
  s.doubleClick("C:\\SikuliX\\Images\\DestinFolder.png");
  s.doubleClick("C:\\SikuliX\\Images\\CfgFolder.png")

Please help and let me know how i can move the scrollbar vertically for specific steps and in particular window.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2017-06-28
Last reply:
2017-06-29

Can you help with this problem?

Provide an answer of your own, or ask Jyoti Sharma for more information if necessary.

To post a message you must log in.