In web application, webtable (wbfgrid) is displayed with column containing 7 different values in non-editable boxes. QTP identifies these as 'WebElement'.
I have selected one of the values (which turns to blue after selection) in each row.
Now I want to fetch the selected value. But I am not finding any distinguishing property between selected and non-selected value.
Following snippet of code is tried to fetch the webelement value
Set myWebTable = browser("title:=.*").page("title:=.*").wbfgrid("ht ml id:=.*Grid")
For index = 2 to 14
a = myWebTable.ChildItem(2, 5, "WebElement", index).getroproperty("innertext")