cancel
Showing results for 
Search instead for 
Did you mean: 

Object Tree Updating while running test

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
Community Hero

Re: Object Tree Updating while running test

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
[Community Expert Group]
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
Extensions available
New Contributor

Re: Object Tree Updating while running test

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

Community Hero

Re: Object Tree Updating while running test

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


Robert Martin
[Community Expert Group]
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
Extensions available
New Contributor

Re: Object Tree Updating while running test

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

New Here?
Join us and watch the welcome video:
Watch the new Interview