| || |
How to retrieve each cell data from a .net swfobj?
We are using QuickTest Professional (QTP-9.2 version) with ".Net"(9.2 version) addin to create test cases.
pls find the below code:
set myGrid = SwfWindow("Main Window1-ION").SwfObject("gridControl2").Object
rows = myGrid.RowCount
cols = myGrid.ColCount
set GridRangeInfoList = myGrid.Selections.Ranges.Add(myGrid.Row(2))
cnt = GridRangeInfoList.Count
for i = 0 to cnt -1
msgbox "'" & GridRangeInfoList.item(i) & "'"
Able to get the row and column count..but not able to retreive the data from the grid.
Re: How to retrieve each cell data from a .net swf
I think you would have to look at all the run-time object methods and then see which one would help in your case.