TimeOutWarning property to prevent TestComplete from posting the Search for a Mapped Object Took Too Much Time warning to the log. This value is stored between tests, so enable it again if you plan to perform actions that normally do not cause the warning.
The property is applied to the following object:
True if the message is posted, false otherwise.
The following code snippet disables posting the message before the test, and enables it afterwards.
def NameMappingSample(): # Disable the message NameMapping.TimeOutWarning = False # Perform test actions that take long to find an object # ... # Enable the message NameMapping.TimeOutWarning = True # Continue the test run