Forum Discussion

bharat_sethi's avatar
bharat_sethi
Occasional Contributor
11 years ago

TestComplete fails to identify objects in second Execution and require a restart of testcomplete

Hi, This is been a very different behaviour for which i am strugling to understand. TestComplte runs fine for very fist iteration for one screen but in second itegartion it stops identifing object fro...
  • Marsha_R's avatar
    11 years ago
    I see in your name mapping that there are two branches for

    SwingObject("Dialog") 

    and in the video you are always choosing the second one.



    If the first branch is actually a different object that you've defined, make sure that the two branches have unique properties at some point, otherwise TestComplete may confuse them.  You are selecting one thing and TestComplete thinks you want the other one.



    If the first one is a duplicate and is not something you need, then delete it out of the name mapping and see if that fixes your problem.