06-26-2015 03:12 AM
Hello,
I use TS2014. When i try to use " callexecutable " step to execute an .exe application , after application is finnished it is made to wait for key to exit.
How I can automaitically close this step and get standard output hidden for operator ? (Without asking operator to press a key)
Thank you in advance!
06-26-2015 03:24 PM - edited 06-26-2015 03:26 PM
How are you launching your executable? What are the settings you are using for callexecuteable? Is the executable itself the thing waiting for the key press? If so, you can redirect stdin and send it input via the callexecutable settings.
-Doug
06-29-2015 02:46 AM
I placed a call to executable in a batch file (*.cmd) and I call this batch file in step type "CallExecutable". If application is finished without errors it closes automatically and I don't have problem, but if there is some error application shows message "Press any key to exit" and only after I press key I can close it and respectively batch file also closes.
Settings in step are run Show Normally,Activated
in wait options - Wait condition: Wait for Exit , the rest is unchecked
Standard input: No input
Standard Output- Output destination : Store to variable.
If I put in "Standard Input" some string , is this mean that it will be send to application when it expect some user interaction?
Thanks