Forum Discussion

Ovi's avatar
Ovi
New Contributor
7 years ago

The object I am trying to interact cannot be found

Hello,

 

I am using TestComplete to test a windows application that inside it has tabs and when I switch from one tab to another TC does not seem to either .Find() the object I want or even if I give it a exact name of the object cannot find it. I believe it is a problem of either remapping the objects or focusing on the right tab.

 

Thanks,
Ovidiu.

6 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    Have you tried recording a test where you switch between the tabs?  That will let you see what TC thinks the tabs are called.  

    • Ovi's avatar
      Ovi
      New Contributor

      Yes, I have tried to record a test case and use the names of the objects that are used in the recorded test but it still does not recognize the object.

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        What happens if you play back the recorded test case?  Do you get error messages?  If so, could you post those here please?

         

        Also give us a screenshot of the Extended properties of the tabs from Object Spy.