Forum Discussion

lslechta's avatar
lslechta
Occasional Contributor
6 months ago
Solved

Keyword test steps suddenly stopped recording

I'm on version 15.68.8.7. I'm trying to record keyword tests on a .net desktop application. I've been doing this for years with TestComplete but suddenly it's not working. It appears to be recording but then when I click stop, nothing shows on the screen.

I've rebooted, uninstalled TestComplete, re-installed. Still the same issue. 

See attached screenshot of what it shows after recording.

 

 

  • For example,

     

    function Test()
    {
        var oExec = WshShell.Exec("powershell.exe -Command \"C:\\Temp\\Book2.ps1\" -excelfile \"C:\\Temp\\Book2.xlsx\"");
        while (oExec.Status == 0) {
            aqUtils.Delay(1000);
        }
        while (!oExec.StdOut.AtEndOfStream) {
            Log.Message(oExec.StdOut.ReadLine());
        }
    }

     

     

  • Thanks a lot this solves all my problems 

    Thank you once again for all the effort

4 Replies

  • Not sure if that would help you isolate the root cause.

    If you start a new project, do you still have the same problem?

    Also the browser extension may be the issue. Uninstall and reinstall should fix it but also a reboot in-between would be required. 

  • lslechta's avatar
    lslechta
    Occasional Contributor

    It ended up being the setting for Enable Windows support for testing Store applications. Once I disabled that and rebooted, I no longer had the issue.