Forum Discussion

mfremont-smith's avatar
Occasional Contributor
4 months ago

Error when executing tests on my primary monitor - "The tested window (or control) has been deleted"



TestComplete Version:
Chrome Version: 119.0.6045.160

When executing the script below on my primary monitor, I get error "The tested window (or control) has been deleted". When executing on my secondary monitor, it works just fine.

function PrimaryMonitorTest() {
  let searchBar = Aliases.browser.Page("*").FindElement("//textarea[@title='Search']");


When the script fails, I also notice the browser Page object is not present in the Object Browser:

Anyone else experiencing similar issues in the latest TC release ( ?

5 Replies