Forum Discussion

rcusma's avatar
rcusma
New Contributor
9 years ago
Solved

Force object properties to refresh

Hi,

 

I'm facing a problem while trying to access RowsCollection of my UltraGrid (ex: "MyUltraGrid.Rows").

Testcomplete crashes saying that "Rows" child object doesn't exist.

 

However,

I do see RowsCollection  object through Object spy and even in Watch list while debugging.

 

How could I solve this problem? Should I force object refresh of my UltraGrid (I already tried refresh(), but it doesn't work) or else?

 

Any other idea?

 

 

 

  • found the solution... I hope so...

     

    apparently we can simply use RefreshMappingInfo() or FindChildEx() functions. Seems like my problem was linked to TestComplete cache.

1 Reply

  • rcusma's avatar
    rcusma
    New Contributor

    found the solution... I hope so...

     

    apparently we can simply use RefreshMappingInfo() or FindChildEx() functions. Seems like my problem was linked to TestComplete cache.