Forum Discussion

evertonalmeida's avatar
evertonalmeida
Occasional Contributor
8 years ago
Solved

I would like to known if is there any configuration when the TestComplete not find a object

I would like to known if is there any configuration when the TestComplete not find a object on screen, run a specific action
  • tristaanogre's avatar
    tristaanogre
    8 years ago

    What you've described is an event tied to the tests, not to the project. When a test fails due to an object not found, stop the test, reset, and start the next test. This is something that needs to be handled in the framework of the tests that you are running. Each test should be wrapped in some sort of handler that will do exactly what you are asking.

    Unfortunately, there is nothing that I know of that is built in to the TestComplete environment to do what you ask. I could easily be wrong but, in my years using the product in its various versions, the solution you are asking for is something that needs to be developed as part of your testing framework.