I am automating a page which is designed in Flex, so i am writing scripts in Sikuli. Now i want to move the scroll bar up and down. Can anybody help me?
At the moment there is not a function to move the scrollbar.
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))