Forum Discussion
9 Replies
- rraghvani
Champion Level 3
What version of TestComplete are you using? Is this for Scripting or Keyword Tests?
- nelsonbrittoOccasional Contributor
i am using testcomplete Version: 15.64.3.7 x64
i am facing this while executing the Script.
- scot1967
Champion 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
Champion 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
Champion 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.
- nelsonbrittoOccasional 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
Champion 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
Champion 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