Ask a Question

how

msap
Frequent Contributor

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 3
tristaanogre
Community Hero

Re: how

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.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
msap
Frequent Contributor

Re: how

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

tristaanogre
Community Hero

Re: how

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.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: