Grid Controls issue - Please help
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Grid Controls issue - Please help
Hi,
I have a windows application, having a data grid control, containing in her columns some icons (edit, delete) to be clicked. I'm not finding a method to click on this image icon in order to edit or delete the selected row.
Any suggestion please? The Grid doesn't have the ClickCell method in the list of available methods. It has only Click..
I have attached to the message a screenshot of the grid I have; maybe this will help detecting its type...
Thank you
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rather than a screenshot of the grid, what would be better is screenshots of the Object Spy showing the properties and methods of the object, perhaps even the Object Browser showing other child and/or parent objects. Also, any information as to what class of component (DevExpress, etc) it is would be helpful as well.
You can also start with https://support.smartbear.com/testcomplete/docs/app-objects/specific-tasks/grids/index.html to see what grids are supported and if yours is one of them, additionally, contains information as to how to work with grids in general.
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
did you try recording your actions?
what was the results? It would give you some clues about your grid
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What technology is this application written in? This might help in figuring out if there is some way of making the object "open".
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, as mentioned, if you can't work with it using ClickCell or anything because it's not a recognized Grid class, you'll have to find some other way using some custom code... the links I've provided above give some tips and tricks. The WndClass is not supported by TestComplete natively so that's really all you have left.
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
