Forum Discussion

yohanmidha's avatar
yohanmidha
Occasional Contributor
2 months ago

TestComplete 15.77 is broken - dont upgrade

Previous version - 15.76
upgraded to - 15.77

TC 15.77 Included upgrading python version to 3.13.

This has led to the following issues - 

1. Cant run any test - all files that you have written, for example - homepage.py when referenced at the import line will provide the python runtime error 'Module not found'.

2. Cant add new files - right click on script, add new item - > leads to nothing (no new window), testcomplete freezes. 

Its understandable when upgrading python versions users are expected to ensure they upgrade/install their 3rd part dependencies. But unable to recognize your own files within your project is clearly just wrong.

The point of this post is to ensure that people are aware of this and should avoid upgrading their python projects.

In classic smartbear fashion there will be no information addressing this - or updates to documentation. The error message that Testcomplete provides you takes you to the page that helps installs 3rd party dependencies - which is completely incorrect and outdated.

Despite them claiming that their documentation is up to date in accordance with the new release 15.77.

As you can see they are literally referencing python11 in this command when claiming the below works for their latest version that ships with python 3.13.

13 Replies

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

    Raise a Support Ticket, if you haven't done so already. There is an issue when calling TestComplete methods within a Python Module (as shown below).

    You can download a previous version of TestComplete via the URL https://downloads.smartbear.com/TestComplete1577SLM.exe - just change the version number to an appropriate value.

    • yohanmidha's avatar
      yohanmidha
      Occasional Contributor

      Raised a ticket and they've added it to their backlog. No estimate on how long it could take and they advice downgrading - seems like it could be some time before we get a new working build with the upgraded python support. TestComplete1576SLM has been treating me well (as a python user).

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

        They won't give an estimate time on fixing the issue, and support will always suggest of downgrading. Not realising there's issues in the previous version relating to -

        • Chrome flashing after update v.139 on Windows 11. Fixed a critical issue where Google Chrome would continuously flash or refresh during playback on Windows 11 after updating to Chrome version 139. This caused unstable testing behavior and UI element interaction failures.

         

  • jmunjov's avatar
    jmunjov
    New Contributor

    Yes its failing. Giving unexpected error on import lines. specially it is not recognizing Aliases word from Name mapping.

    • LeelaM's avatar
      LeelaM
      Occasional Contributor

      Upgraded to Testcomplete 15.77 Version, I cannot even run the tests, getting

      :NameError: name 'Sys' is not defined" 

  • BD_Geoactive's avatar
    BD_Geoactive
    Occasional Contributor

    Yes its failing for me too after updating the software to T.C ver. 15.77.6.7 x64

    It was working in prior to update I had this morning.  I will too, log this as support ticket to hopefully bump up its priority.

    Its a bit annoying and would thought this was caught before release!? 🤷🏽‍♂️

    I am rolling back to previous version (which I couldn't remember what version that was)

     

  • jmunjov's avatar
    jmunjov
    New Contributor

    When this issue is going to resolve, is it the issue or expected behavior.

    I tried encapsulating the objects and methods in class. This Aliases error is not shown. How we can plan the code migration from plain python scripts to object oriented Python.

  • MCH's avatar
    MCH
    Occasional Contributor

    Does anyone know if the issue is resolved with 15.78?

    • BD_Geoactive's avatar
      BD_Geoactive
      Occasional Contributor

      I havent try to install the latest version...so couldnt help to answer that question am afraid

    • jli's avatar
      jli
      New Contributor

      Still have issue NameError: name 'Sys' is not defined"

  • BD_Geoactive's avatar
    BD_Geoactive
    Occasional Contributor

    I have a reply from support - It suggested few steps to try and using a custom version of TestComplete.

    however, i haven't tried it yet as it sound quite complicated and am not a developer. I also not sure if I can share the link to that custom Test Complete version.

    but this is the screenshot of the suggested steps (with the custom T.C).

    I suggest you log the issue for yourself and support can get back to you.

     

    • Michael_B's avatar
      Michael_B
      Contributor

      Any word on this? We are in the same boat: We need the Chrome/Edge fixes in 15.77 to fix several projects, but the python bug broke others. 

      • BD_Geoactive's avatar
        BD_Geoactive
        Occasional Contributor

        unfortunately, I haven't tried the custom version of test complete. Still quite busy in the manual side of testing for now :/