Doubleclick on C1 Fexgrid cell
I am using TC 8.
In my desktop app i am using component one flexgrid.
I want to call click and double click event on a particular cell instead of XY axis.
Presently TC is recording click as follows -
C1FlexGrid = Aliases.Centi.ZoneSequence.WindowContentTabbed.Tab Control.LayerBrowser.LayerBrowser.zlayersFlexGrid;
And i am able to create a property checkpoint as follows for a particular cell -
aqObject.CheckProperty(Aliases.Centi.FormManageCom monSEFileNew.centiTableControlFlexiGrid.groupBox1. dataGrid1, "Item(1, 12)", cmpEqual, "Omni", false);
but couldnt find any method to call when looking in the object browser for doubleclick on a cell?
Re: Doubleclick on C1 Fexgrid cell
Currently, TestComplete does not have extended native support for this control. Please note that you can vote for the controls you want to be supported natively in TestComplete in the TestComplete Feature Survey.
To accomplish your task, you need to find out a way to calculate the coordinates and size of the needed cell using native methods and properties of the grid control. Once you get this data, you will be able to simulate a double-click by the found coordinates using the DblClick method of the grid object. I recommend that you ask the application developer to help you find a way to calculate a cell's coordinates and size using native methods and properties.