Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
Either you need to redo the "FindChild" call to reassign your object or you need to call the Refresh method on the object.
Either way, it comes down to the object you originally assigned no longer exists so you need to reassign it in some way or tell TestComplete to refresh it.
In truth, NameMapping/Aliases are probably the best way to go. Failing that, I'd simply redo the "FindChild" on the next call to your objitem.
Either way, it comes down to the object you originally assigned no longer exists so you need to reassign it in some way or tell TestComplete to refresh it.
In truth, NameMapping/Aliases are probably the best way to go. Failing that, I'd simply redo the "FindChild" on the next call to your objitem.