Forum Discussion

tmahender12's avatar
tmahender12
Frequent Contributor
10 years ago

Scroll and click a row in a grid

iam attaching a grid,where i need to click bottom items,test complete just stopping and waiting for window to activated state,

 

is there any command to scroll below and click on item

2 Replies

  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor

    If there is a "ScrollIntoView" method it will show in the Object Spy under the Methods tab.

    Usually, however, for any sort of grid control there will be a ClickGrid method that you'll want to use.

    If not there are several other things you can do like enabling text recognition, utilizing object mapping, etc.

    • ghuff2's avatar
      ghuff2
      Contributor

      Also most objects for Desktop applications have a SetFocus() method which often will scroll the object into view. But like Ryan_Moran said if it's a grid there is most likely a ClickGrid or ClickCell method for clicking a specific point in the grid.