Forum Discussion

joe_2's avatar
joe_2
Contributor
10 years ago
Solved

Anyone know why the name of an object might be different one time?

Most of my tests rely heavily on the FindChild function.  When I can, I use button text, or other properties to find by, but often I'm reduced to using the object's name. Recently I've run into...
  • joe_2's avatar
    joe_2
    10 years ago

    Finally figured out what was going on with this.

    The application under test was dynamically building a right click menu with items present in a particular folder.

    It was not supposed to be leaving anything in that folder for more than 30 days... and it had not cleared the folder in over a year.

    Instead of ten or twenty items, there were several hundred, and the routine to build the menu was taking a long time.

    This delay eventually exceeded the wait times set in TestComplete, and started affecting performance.

     

    The path to this bug was indirect and somewhat misleading, but TestComplete did eventually lead me to it.