Forum Discussion

jhgreen's avatar
jhgreen
Contributor
11 years ago

Do I have to hit page down to get to specific row item

I am testing a .NET application which has a WPF object where this object

is a listing of the number of tests for our application.



If this windows contains 100 rows and only displays 20 rows at a timeand I am trying to verify row number 50, I have to do a page down to get to the particular row.



I am wondering if there is another alternative where I do not have to do a page down and possible where test complete recognizes all 100 rows.
  • Hi Jeffrey,

     


    I guess that this is specific implementation of your control. Each time you scroll down a table, it's refreshed, and a new piece of data is received. As a result, it's possible to get the information only about visible objects. Try checking if there is a native method or a property that allows getting all the data in the Object Browser.


     

  • jose_pita's avatar
    jose_pita
    Super Contributor
    Using the Object Browser can you "see" all the rows or only the 20 first shown?



    If you can, try the "
    scrollIntoView()" method on the row object or one of the cells on the row or something similar in wpf...