I'm trying to automate my SAP GUI until the end of the page and I got the code below from this site Algorithm for finding end of a list (SAP GUI)
I only changed the text after findById
but I get this error at the line which changes verticalScrollbar.Position
:
object doesn't support this property or method
Any ideas on how to solve that?
Do While Not blank
If session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell/shellcont[1]/shell").Text = "" _
Then blank = True
session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell/shellcont[1]/shell").verticalScrollbar.Position = i
i = i + 1
Loop