Forum Discussion

msap's avatar
msap
Frequent Contributor
6 years ago

how

hi

need suggestions, how to avoid x,y coordinates in the Grid which has set of reports.

there are set of reports in one section .on recording highlights the whole grid does not allows o select single report at a time. instead  selects x,y coordinates. runing the same script selects different report and gives an error.

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Reference the following topic. https://support.smartbear.com/testcomplete/docs/app-objects/specific-tasks/grids/basic-concepts.html

     

    Grids are components in and of themselves and the contents of them are not individual objects to be interacted with.  In order to get at the content of the grid, you will need to use methods and properties of the grid object to get to the specific data.  Depending upon the grid class, different methods or properties are available.  Please reference the linked topic for the standard supported grids.

    • msap's avatar
      msap
      Frequent Contributor

      Thanks martin . There are lot of grids, how do we know which one to use.

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        Easiest answer: ask the developer.

         

        You can check the class name of the object, the object type, etc.  Anyone of those things, when doing an object spy/inspection, should give you some indication of what type of grid it is.