|Get console result from TPTPProcess [message #119534]
||Fri, 14 December 2007 12:43
Originally posted by: cguibert.axway.com|
In my test, I need to run an application that write some data to the
console, in particularly, whether the start process was OK or not. So I
need to get the console output in order check if my TestMethod is success
I'm using the TPTPProcess sample to do that, but I'm not able to get the
console output using the sample.
I did the below tests:
proc.setParameter(" >toto.out 2>toto.err");
where MyTest.bat contains the following:
myApplication >toto.out 2> toto.err
But I have no ways to get the console output in my Test.
I guess I missed something but I can't see what.
Do you have any idea ?
Powered by FUDForum
. Page generated in 0.10598 seconds