Forum Discussion

Mango86's avatar
Mango86
New Contributor
5 years ago

Object does not exist

I try to let TC enter login details in a textbox. The error keeps showing during playback "The object [...] does not exist". Although the textbox is recognized by TC and object spy confirms the obje...
  • hkim5's avatar
    5 years ago

    without having any additional information, I'd wager that the textbox object is dynamically named each time. You can see that its name mapping goes something like Aliases.Eikon.Something.Somethingelse....textbox{0abfsdg28423-random alphanumeric characters}

    So what you need to do is go into your name mapping file, and use the asterisk (*) to wildcard out all the random alpha nuemric characters following the word textbox. 

    Here is a great video covering how to handle these objects: https://support.smartbear.com/screencasts/testcomplete/reliable-tests-for-dynamic-objects/

    Hope this helped :)