Ask a Question

Object Tree Updating while running test

Matt1
New Contributor

Object Tree Updating while running test

Hi there,

 

When the Test Complete software runs some of my test (when called by a .bat file) a loading bar stating, "Updating Object Tree", appears and causes my tests to run incorrectly. It only occurs for some of my tests and never occurs when the tests are called within the actual tester only when called from a bat file (used to test the GUI from a task scheduler).

 

Thanks for the help,

Matt

4 REPLIES 4
tristaanogre
Esteemed Contributor

I'm assuming the batch file is running TestExecute while you're running TestComplete.

 

In TestComplete, go to Tools | Options | Engines | NameMapping and see if the option "Update Name Mapping during test run".  If that's checked, uncheck it.

do the same on the TestExecute box... run TestExecute, right click on the sys tray icon for the tool, and go to Options | Engines | NameMapping and uncheck that same option.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Both check boxes were already unchecked, do you know of anything else that could be causing the problem?

tristaanogre
Esteemed Contributor

What version of TestComplete are you using and are you using ODT objects to drive your tests?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Its Test Complete 14 and no, the tests just compares pictures of the GUI

cancel
Showing results for 
Search instead for 
Did you mean: