Forum Discussion

mfremont-smith's avatar
mfremont-smith
Occasional Contributor
4 months ago

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

Hello,

 

TestComplete Version: 15.58.9.7
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() {
  Browsers.Item('chrome').Run('https://www.google.com');
  let searchBar = Aliases.browser.Page("*").FindElement("//textarea[@title='Search']");
  searchBar.Click();
}

 

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 (15.58.9.7) ?

5 Replies