Test Data Manager

  • 1.  Javelin error code

    Posted Apr 24, 2017 01:56 PM

    Hello,

     

    Is it possible to get a return code from JavelinExecutor.exe when running in a .bat file.

     

    If there is an error I need to pass an error code to the program that is running the .bat file

     

    @echo off D:\Apps\CA\TDM\Javelin\JavelinExecutor.exe file=M:\aaa.xml if %ERRORLEVEL% EQU 0 (    echo Success ) else (    echo Failure Reason Given is %errorlevel%    exit /b %errorlevel% )

     

    Thanks


    Francois



  • 2.  Re: Javelin error code
    Best Answer

    Posted Apr 25, 2017 12:53 PM

    Hi Francois, 

     

    You can assign Environment.ExitCode property in Javelin flow to set error level. Please see attached flow and batch file for more details.

     

    Best regards,

    Taylor

    Attachment(s)