Ask a Question

Accessing cells in VSFlexGrid 7.0

fahlen
Occasional Contributor

Accessing cells in VSFlexGrid 7.0

I'm checking the possibility to automate testing for an older application which makes use of VSFlexGrid 7.0. Using the Object Explorer, I haven't been able to find any properties/methods that might be useful to access the cells in the grid. I need to read the text of individual cells. Is that at all possible? I know there's always the possibility of using OCR, but I'd rather avoid that option.
4 REPLIES 4

Hi Markus,




Do you mean the ComponentOne VSFlexGrid? If you do, you can download a sample project that demonstrates how to work with this grid:





Please see the "ComponentOne VSFlexGrid Pro" section of the "Working With Grids" help topic.

--
Dmitry Nikolaev

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
fahlen
Occasional Contributor

Yes, it's the ComponentOne VSFlexGrid 7.0. When trying out the example function LogRowData on the grid component, I get the following result in the log: "Unable to find the object Cols." The same thing goes for TextMatrix. Could it be that there is support for VSFlexGrid version 8.0, but not version 7.0, which I'm using?

AlexanderM
Staff

Hi Markus,




Actually, TestComplete does not provide special support for the ComponentOne VSFlexGrid control. The samples we've suggested demonstrate the general approach to working with specific versions of some grid controls. 




Anyway, your problem is, most probably, caused by the fact that your application is compiled without debug information, and therefore, TestComplete cannot get access to the control's native methods and properties. To learn how to compile your application with debug information, please see the "Debug Info Agent" help topic.

-----

Alexander
Customer Care Manager
fahlen
Occasional Contributor

OK. Thank you.
cancel
Showing results for 
Search instead for 
Did you mean: