Forum Discussion

elkady201074's avatar
elkady201074
New Contributor
2 months ago

Log.warning stops the excution

I am using version 15.55, and when I run my script that includes the

Log.Warning

step, I notice that after executing this step, the entire scenario stops, the test ends abruptly and the next steps does not run.

Has anyone idea about it?

    • rraghvani's avatar
      rraghvani
      Champion Level 3

      The Execution Plan has similar settings too. You may have a step that's causing your execution to stop. As I'm not able to reproduce the issue.

       

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Check your project settings for 'On warning' as it may be configured to stop

     

  • It appears that this step was the final step in the scenario, and the execution seemed to complete successfully. However, this is not accurate, as there are additional steps following this one that TestComplete overlooked.

  • JDR2500's avatar
    JDR2500
    Frequent Contributor

    What does the results log show?  It should indicate why the execution was stopped (e.g. there was a setting responsible).  Make sure to check the information on the Details tab.