Forum Discussion

afroz's avatar
afroz
Occasional Contributor
13 years ago

Handling the 'Object Does Not Exist' Error

Hi All,



I am not able to handle the Object Does Not Exist Error in testcomplete.When this error occure testcomplete will stop executing.Using Event handler i am not able to handle this error.Can any one suggest how to handle this error through script.



Thank

Afroz
  • Hi,



    If you face an "object not found" error, a link to the corresponding help topic should be posted to the test log. Have you tried following the suggestions provided in the help topic, a link to which has been posted to your test log? What were the results? If the help topic was not enough for you to find the cause of the problem, let us know what problems you faced while diagnosing the problem so we can improve our documentation.



    BTW, a list of the corresponding help topics (depending on specific error messages) can be found in the Handling the 'Object Not Found' Errors help topic. Suggestions provided in this topic are usually enough to diagnose such problems.
  • afroz's avatar
    afroz
    Occasional Contributor
    Hi jared,



       when Object Not Found Error occurs Script is stoping at that point.Actually what i need is when that error occurs testcomplete has to throw log error  and  continue next step.
  • sastowe's avatar
    sastowe
    Super Contributor
    There are settings in the project for stop in error as well as properties for the individual test items (the test items' stop on error properties are hidden by default, I think. So go to field chooser to display them.) Help topics on those settings will get you where you need to go, I think.