Forum Discussion

abdul_rp's avatar
abdul_rp
Contributor
14 years ago

Issue in executing the Project

Hi,



1.I have created a Suite on Testcomplete 7.52 and Want to execute it on Testcomplete 8, Sometimes the script does not  execute rather stops without performing any action, Even ShowMessage function will not display anything and  the Execution Start and Stops it self.



2.I am using Log Statements in the scripts and when i double click on the Log Message in the TestLogs after the execution completes the stuff is not taking me to source code.



Kindly provide me the resolution for the above issues.



Regards,

Abdul

6 Replies

  • Hello Abdul,


    Could you please give us a bit more information on your issues?


    1. Do the issues you describe occur in TestComplete 8 or in TestComplete 7.52?


    2.

    Sometimes the script does not  execute rather stops without performing any action


    Are any errors or warnings posted to the test log when this happens?


    3.

    I am using Log Statements in the scripts and when i double click on the Log Message in the TestLogs after the execution completes the stuff is not taking me to source code.


    Is a script debugger installed on your computer? Does the same issue occur for any messages, events, errors and warnings posted to the test log by the test engine and by Log object's methods?


    Thank you.

  • Hi,



    I am executing the suite in Testcomplete 8 which created in 7.52



    Eg:



    function Test()

    {

    ShowMessage("Test")

    }



    Above mentioned code should display Message in Runtime ,but it is also not happening. "The real problem is the execution starts and stops by itself and doesnot perform anything"



    This happens sometimes not all the times.



    Regards,

    Abdul
  • Hello Abdul,


    Please check this:


    1. Are any errors or warnings posted to the test log when your script fails to be executed and stops without performing any actions?


    2. In your script, set a breakpoint on the line that contains the ShowMessage method. Run the script and check whether the script execution fails when it reaches the ShowMessage method.

    For information on using breakpoints, please see the Using Breakpoints Help topic.


    3. If you have any variables you pass to the ShowMessage method, could you please make sure that they are valid?

    To do this, you can post their values to the test log by using the Log.Message method, or you can examine the variables in the Locals panel during the script run.


    Thanks in advance.

  • Hi Julia,



    I tried executing the script after inserting the Breakpoint. There is no change in the behavior. The execution Starts and Stops without performning any operation.



    Where as My other project works fine ( I have multiple projects).



    Scenario



    The Problematic Project ( Say "A") Works fine in the following scenario.



    1. Launch Testcomplete and Load Project "B"

    2. Execute a Small scenario or the following simple code or any other code

     function Test()

    {

    ShowMessage("Test");

    }

    3.Load the Project "A" now and Execute the script. It works.



    If I open the Problematic project at first instance after launching TestComplete (after restarting the System) , we are facing the problem.



    Could you please let me resolution for this. I am using TestComplete 7.52.



    Regards,

    Abdul






  • arvind_dhiman's avatar
    arvind_dhiman
    Occasional Contributor
    Hi



    I am using test complete 9.20 trial version for evaluation, but now I am getting no results in the test logs. they are blank it is shown "Error: 1" but no error is visible while earlier it was working fine.