How to access SysListView32 items in QTP?

We have a table of items in SysListView32. This is actually a table under 5 columns. How do I access the 3rd column in a table in SysListView32?

+2


a source to share


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


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







All Articles