We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Why is my simple script to just launch chrome and navigate to any url is failing on chrome browser (working on Edge and Fire Fox)?
Testcomplete version = 15.20.341.7 x64
Script =
function test()
{
Browsers.Item("chrome").Run("http://www.google.com/");
}
Logs show -
Warning: "Simulating the ESC keystroke to close the unexpected window"
Error: "Unable to navigate to the http://www.google.com
Details:
I have tried -
- Preparing chrome for Web Testing as per the steps given in TestComplete documentation
- Closing all windows except Test Complete before running the test
- Unchecking "Press Esc" in Project Properties-> Playback->On unexpected window
I opened a support ticket and finally, got the solution. Thanks.
The issue got resolved by Disabling the Live Caption in Chrome settings.
Steps -
1. Go to Chrome Settings -> Advanced -> Accessibility (chrome://settings/accessibility)
2. Disable Live Caption
Hi rmalhotra
Can you try the following,
Navigate to your web application, using the object spy in TestComplete
Check if TestComplete recognizes any objects on screen
Can you check if the extension is actually running when you launch chrome.(there may be a block running this process with your antivirus or group policies)
It could be that be that our "tcCrHost.exe" is not running. TestComplete uses this process to send information between the extension and the client. Without this process the client will believe that the extension isn't installed. When this issue occurs please try validating that the process is running. You can check this within Task Manager under the "Details" tab. If it's not running then it may be blocked or delayed by your system's security systems. In this case it may be necessary to whitelist the process.
KR
Vincent