Forum Discussion

nika912's avatar
nika912
New Contributor
8 years ago
Solved

List view items

Hi everyone,   I'm new to TestComplete and i'm having problems with list view control. I am using TestComplete to test .NET based application.   Issue:   I'm trying to find a specific item in l...
  • Ryan_Moran's avatar
    8 years ago

    The example provided is using extended properties of the listview item and your code is not.

    The error message you are receiving is correct.

     

    You need to trace it to the line of code that is generating the error and verify that you are passing the correct number of parameters to the property or method.

     

    More than likely this is incorrect:

     

    If listView.Items(j,i) = value Then

     

    Try using the object spy to verify the number of parameters accepted by listView.Items (and that it is actually the property you want to check).