Ask a Question

Cannot identify cells in VSFlexgrid of Componentone

aerofan
Occasional Contributor

Cannot identify cells in VSFlexgrid of Componentone

Testcomplete is not recognizing the objects inside the vsflesgrid. It is recognizing as the whole grid but not rows or columns inside it. Can someone please how to iterate ot find values or text in cells. Any code example would be helpful. Please find the attached screenshots of grid as well as properties.
4 REPLIES 4
shankar_r
Community Hero

Hi,

 

Test Complete doesn't go to cell level object for some of the grids types, This may part of that.

 

But you can access the values using below functions,

 

youTableObject.wRowCount - To get row count

youTableObject.wColumnCount - To get column count

youTableObject.wValue(row,col) - To get cell value

 

for more details

https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/web/flex/data-grid/i...

http://helpcentral.componentone.com/docs/vsflexgrid8/vsflexgridpropertieseventsandmethods.htm


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

aerofan
Occasional Contributor

It says object cannot be find when i tried to use the wRowCount
sanjay0288
Frequent Contributor

Attachment is missing in your post. Can you attach the screenshot of the grid along with its full properties and methods

aerofan
Occasional Contributor

Please find the attachments below. First image is the grid, second and third for properties

cancel
Showing results for 
Search instead for 
Did you mean: