How to retrieve the value of the text from thegrid
QTP Ver 9.2
How to retrieve the value of the text from the Flex grid and select it.
I have a flex grid with a lot of values in it.
QTP recognises the grid, but not the values in the grid.
I need to get the values in the grid and compare it with a variable and then select it.
How can this be done?
Re: How to retrieve the value of the text from thegrid
I haven't tested Flex grid, but you could look at:
a. Is there a GetCellData method of the grid object?
b. Using the .Object property to access native properties, is there an Items collection?
c. Navigate to a cell and simulate Ctl+c to copy content to clipboard
There is always more than one way to do things - trial & error.