Forum Discussion

nelsonbritto's avatar
nelsonbritto
Occasional Contributor
1 month ago

log message issues in testcomplete

i try to double click on the log messages in testcomplete it doesnt bring me to code where it was declared. and it doesnt show anything when i am trying to double click it. please explain about why does it happens.?

 

9 Replies

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

    What version of TestComplete are you using? Is this for Scripting or Keyword Tests?

    • nelsonbritto's avatar
      nelsonbritto
      Occasional Contributor

      i am using testcomplete Version: 15.64.3.7 x64 
      i am facing this while executing the Script.

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

    Hi nelsonbritto,

    To properly answer you question we would need to know more about how you are setup.  If you are using nested classes and methods it may only take you so far.

    it doesnt bring me to code where it was declared.

    Where does it take you if anywhere?  

    ... If you find my posts helpful drop me a like! ๐Ÿ‘ Be sure to mark the solution to help others out and to give credit the person who helped you. ๐Ÿ˜Ž

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

    If you ask ChatGPT it would provide you with a lot of reasons to why this could be expected based on your situation.

    ๐Ÿ‘ Found it helpful? Click Like
    โœ… Issue resolved? Click Mark as Solution

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

      Also you stated messages in plural does not bring you back to the code, hinting that none of the messages, is that correct or is it only some of the messages? 

      If some of the messages that should give you a hint to why.

      • nelsonbritto's avatar
        nelsonbritto
        Occasional Contributor

        None of the log messages navigate back to the code on my machine.
        When I double-click any message, it does not take me to the line where the code is declared.

        On my managerโ€™s machine, the same log messages correctly navigate to the corresponding script line, but on my system, none of them do.

        I am using .scpp scripts in TestComplete version 15.64.3.7 (x64) on Windows 11 24H2.

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

    I think Hassan_Ballanโ€‹ is on to something.  Your project may be corrupt.  It all runs on XML files on the back end.  If you are using Source Control you may be able to run some diffs on the files.  I have done that and it saved my tail a few times. 

    Best of luck! 

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

    I've tested this using TC v15.79.5.7 - clicking on the Warning message in the Log, will navigate to the script file and highlight the code, as shown below.

    Create a new project, with the above example and see if it works. Otherwise update your TestComplete version, as there's been a number of fixes