Forum Discussion

privetak's avatar
privetak
Occasional Contributor
22 days ago
Solved

Web recording - multiple chars recorded and mouse-clicks not recorded

To reproduce:
 [1] Go to https://bearstore-testsite.smartbear.com/
 [2] Create a login/password if you don't already have one: MyUserTest5/MyPasswordTest5
 [3] Record a new test
 [4] Enter login/password
 [5] Click on the Log in button
 [6] Stop recording

Result: The record test will show something like:
  For Login - "MmmmyUseeeeerTTTTTest555"
  For Password - "MMMy"

Playback is wonky too, like mouse-clicks going to odd places on the page

This started on or just before May 5th of this year, 2025:
  * WebView2 version 136
  * On the Edge Browser, and now recently on the Chrome Browser
  * TestComplete version 15.69 and then 15.77

Windows has continued to update WebView2 and there has been no change of behavior.

SmartBear said they reproduced the issue but has not provided a workaround or a fix.

I verified my TestComplete plug-in is valid in the browser.

I have used TestComplete desktop full-time for 13 years and the Web tool for two years, and love it. They have always had quick fixes for me until now.  This one is debilitating.  Got any ideas?

I'm not seeing many current posts on TestComplete Web.  Is anyone even using it????



  • Good news!  SmartBear told me yesterday that Release 15.78 fixed my issue. I retested with it and no longer have any problems. 

    rraghvani, perhaps you were using 15.78 which came out on 10-6-2025, and that's why you had no problem.

    Thanks to all who participated in this post!!

9 Replies

    • privetak's avatar
      privetak
      Occasional Contributor

      Thanks for responding!  Yes.  I'm using Chrome and Edge and keep updating them to the most recent versions.  My IT admins won't let me go back to earlier versions when things were working because we need to stay up with security updates. 

      I check with support often to check their progress.

  • Hassan_Ballan's avatar
    Hassan_Ballan
    Icon for Champion Level 3 rankChampion Level 3

    WebView2 is a Microsoft component for embedding web content in Windows desktop apps. It’s possible that TestComplete is using WebView2 internally to hook into browsers.

    You might try the following:

    • In TestComplete, disable WebView2 support if such an option is available. I couldn’t find an official documentation reference for it.
    • In your browser, disable the WebView2 extension.
    • As rraghvani​  already pointed out, make sure you're using a supported browser per SmartBear’s official list.

    At this point, your best bet is to keep pushing SmartBear Support, since the community can only go so far without insight into TestComplete's internal integration.

    🤖 AI-assisted response
    👍 Found it helpful? Click Like
    ✅ Issue resolved? Click Mark as Solution

    • privetak's avatar
      privetak
      Occasional Contributor

      Good ideas!

      Can't find a way to disable WebView2 in TestComplete. However, I'll ask support if they know of a way.

      The extension in the Browser is the one for TestComplete

      I'm using the supported browsers, IE & Chrome.

      Thanks!

      • Hassan_Ballan's avatar
        Hassan_Ballan
        Icon for Champion Level 3 rankChampion Level 3

        Thanks for the update!

        Just to clarify: it sounds like you're testing both a desktop app (which uses WebView2) and a web app in a browser, and the issue seems to be affecting only the web app tests.

        One theory is that the desktop application’s WebView2 runtime may be interfering with TestComplete’s ability to hook into the regular browser (Chrome or IE). WebView2 can spawn shared processes (msedgewebview2.exe) that might confuse or conflict with TestComplete’s expected browser structure, especially if COM objects or injected DLLs overlap.

        A few things you might try to isolate the issue:

        • Run the web-based test without the desktop app running to see if the problem still occurs.
        • Terminate all WebView2 processes (like msedgewebview2.exe) before launching the browser and running your test.
        • If you're using TestComplete's process filtering, try excluding the desktop app’s process or its WebView2 child processes.
        • You could also test the web app in a clean environment where the desktop app isn't installed, to rule out interference.

        Let us know what you find — it would be helpful to confirm if the WebView2 runtime from the desktop app is the source of the conflict.

        🤖 AI-assisted response
        👍 Found it helpful? Click Like
        ✅ Issue resolved? Click Mark as Solution

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    I've used the latest version of TestComplete and Chrome, and recorded a simple script using JavaScript. I had no issues.

    Can you provide the script you have written (you haven't stated whether you have using Keyword Tests or Scripts), that you are having issues with. You mention that playback is wonky, if you use the Object Spy tool, is it highlighting the correct UI object?

  • privetak's avatar
    privetak
    Occasional Contributor

    Good news!  SmartBear told me yesterday that Release 15.78 fixed my issue. I retested with it and no longer have any problems. 

    rraghvani, perhaps you were using 15.78 which came out on 10-6-2025, and that's why you had no problem.

    Thanks to all who participated in this post!!

    • rraghvani's avatar
      rraghvani
      Icon for Champion Level 3 rankChampion Level 3

      I'm still using v15.77.6.7, and I won't update straight away

      Reading the Release 15.78 notes, there's nothing to suggest the "fix" relating to your issue. However, if it works great!