How to handle scrollbars when developing test scripts in Sikuli for automation
2 answers
There is currently no scroll bar move function.
But you can use dragDrop()
to move it.
For example:
ImageScrollbar = ("bar.png") # Make for example a image of those 3 stripes on the scrollbar.
# Locate the scrollbar
regionScrollbar = find(ImageScrollbar)
# Move the scrollbar vertically down
dragDrop(regionScrollbar, Location(regionScrollbar.getX(), regionScrollbar.getY() + 100))
+2
source to share