Forum Discussion

tbcooper's avatar
tbcooper
New Contributor
13 years ago

Object not Found unless selected twice in NameMapping

I have several objects in the product I'm testing that TestComplete is unable to find when the test runs.  However, if I go to said object in the NameMapping editor, the first time I click it, TestComplete will tell me it can't find it.  But, the second time I click it, TestComplete is able to both find and highlight the object.  



I'm running TestComplete 8.70.727.7.  Is it that TestComplete is taking longer to find the object than the default time allowed?  If so, is there a place I can edit the timeout time for finding an object?



Thanks!
  • Hi,



    In general, you can change the auto-wait timeout to control how long TC will wait until it stops looking for an object.

    However, in your case, I'd recommend waiting for objects since this forces TC to refresh the object tree which ensures that it contains the most recent information on objects.