0

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
General Grievance
  • 4,555
  • 31
  • 31
  • 45
  • 1
    Please try the answer in this other question: https://stackoverflow.com/questions/45721733/scroll-guigridview-to-find-the-row-with-a-specific-value-in-a-given-column – Sandra Rossi Feb 01 '23 at 16:15

0 Answers0