Search code examples
qtpsyslistview32

How to access SysListView32 elements in QTP?


We are having a table of elements in SysListView32. Actually they are a table arranged under 5 columns. How to access 3rd column in the table in SysListView32?


Solution

  • just found out - we must use the sReport method to access the particulat column element Eg:

    sReport = sReport &  .GetSubItem("123", 2) & vbCr
    

    wherein "123" is the S.No. and it will access the 3rd column with S.No. = "123" sReport should be accessed by With Objectname