How to access SysListView32 items in QTP?
2 answers
just figured out - we have to use the sReport method to access the particulat column element For example:
sReport = sReport & .GetSubItem("123", 2) & vbCr
where "123" represents S.No. and he will have access to the third column with S.No. = "123" sReport must be accessible using Objectname
0
a source to share
sReport is not required to receive data. This is used for reporting purposes only. You can also try the following instead.
Var = Window().WinlistView().GetSubItem (Row, Col)
Where row => you can get by using the GetItem in a loop
and Col => you can get by using GetColumnHeader
See QTP help and GetSubItem search for details and click implementation example.
0
a source to share