Forum Discussion

HD's avatar
HD
Contributor
9 years ago

FindChild() cannot find correct object.

I am using FindChild() to find a child (in my case GridViewCell) with specific properties, but it keeps returing wrong child object.   Here is the scenario: I am trying to find a GridViewCell with...
  • HD's avatar
    8 years ago

    Issue here turned out to be "OleValue" property, which according to smartbear is dummy property inserted by TestComplete and should not be used for Finding objects. So issue is fixed if I use:

     

    RadTreeListView.FindChild(["ClrClassName", "DataColumn.DisplayIndex", "Value"], ["GridViewCell", 5, "ABCDEFG"], 100, true);