Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
5 years ago
Solved

Running testcomplete script on TestExecute machine using batach file

When we run the Testcomplete script on Testexecute machine using batch files as mentioned in the link
https://support.smartbear.com/testexecute/docs/running/automating/command-line/exit-codes.html

 

if there are errors similar to error conditions mentioned in the batch file then how can we see those errors ?

Please update

  • You can either set up error messages in your batch file as it shows in the example, or you can rerun the test in TestComplete and view the error log.

8 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    You can either set up error messages in your batch file as it shows in the example, or you can rerun the test in TestComplete and view the error log.

    • nisgupta's avatar
      nisgupta
      Valued Contributor

      Marsha_R  thnk you for the updates .

      Where those errors are posted ? As shown in the example 

      :NotEnoughDiskSpace
      ECHO There is not enough free disk space to run TestExecute
      GOTO End

       

      Where the errors There is not enough free disk space to run TestExecute  are posted ?

       

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        echo command causes the output to go to the screen.  You would see 

         

        There is not enough free disk space to run TestExecute

         

        on your screen whereever it is that you ran the batch file.   That may not be convenient so you could add code to the batch file to write the message to a file somewhere.