Forum Discussion

Tazbir's avatar
Tazbir
New Contributor
3 years ago
Solved

tested window (or control) has been deleted

Hi, I'm new to test complete. I have built my first script using cucumber BDD. I'm testing Salesforce Application. Whenever I run my feature file I get "tested window (or control) has been deleted" ...
  • Marsha_R's avatar
    Marsha_R
    3 years ago

    If the object has been recreated, then to avoid the error, get the new object before the method call.

     

    Try doing a Get on the page before looking for the elements.