Forum Discussion

mdragani's avatar
mdragani
Occasional Contributor
2 years ago

continuously getting 'Object cannot be found or 'object has been deleted'

Totally new using TestComplete. Using Keyword tests with simple cases. Running the test  individual test cases work one minute and then the next I get 'Object cannot be found' or 'Object has been del...
  • rraghvani's avatar
    2 years ago

    Are you running the web application on your local machine? I'm wondering whether the cached object that TC relies on, has been updated or deleted. See Refresh Name Mapping Cache. Calling method TestObj.Refresh() before each step might resolve the issue, but it's not ideal. Also, check that the parent object still remains the same.

     

    What version of TC are you using?