Forum Discussion
This usually happens when TestComplete intermittently fails to attach to the page DOM and instead attaches to the SmartBear browser extension context. Since Edge is Chromium-based, the extension runs under a chrome-extension://…/BackgroundPage.html URL. When this context becomes active (more common on VMs), Object Spy/Object Mapper highlights the entire browser window instead of individual web elements. Recording may still work intermittently because it uses a more tolerant capture mechanism.
Match VM and host display settings:
Even with DPI set to 100%, ensure the host and VM use the same screen resolution and avoid dynamically resizing the VM window, as resolution changes can cause TestComplete to misidentify web elements.
Isolation steps:
- Try identifying elements on a simple public site like w3schools.com.
- If it fails there too, the issue is environment-related (VM/Edge/extension).
- If it works there, check whether your web app uses supported technologies Supported Web Browsers and Technologies.
- Close all Edge instances, reopen Edge first, fully load the page, then start TestComplete.
- Use a clean Edge profile with only the SmartBear extension enabled.
- Verify VM settings (disable enhanced graphics/3D acceleration, avoid dynamic DPI or resolution changes).
Suggestions / next steps:
- Prefer recording + Name Mapping over Object Spy as a workaround.
- If possible, test in Chrome with the SmartBear extension.
- If the issue reproduces on public sites, raise a SmartBear support incident and include:
- VM type (Hyper-V/VMware/Citrix)
- TestComplete and Edge versions
- Confirmation that the URL switches to chrome-extension://…
- Screenshots or a short repro video
🤖 AI-assisted response
👍 Found it helpful? Click Like
✅ Issue resolved? Click Mark as Solution