Forum Discussion
AlexeyKryuchkov
Alumni
14 years agoHi Robert,
Using the approach from the help topic, you can get access to the standard output stream of the java.exe program, not myApp.jar. I'd recommend redirecting standard output of your Java application to something that can be accessed using TestComplete. Some approaches of the redirection can be found in Capturing contents of standard output in Java. For example, if you decide to redirect output to a file, you'll be able to get this output from TestComplete using the techniques from the "Working With Files From Scripts" help topic.
Using the approach from the help topic, you can get access to the standard output stream of the java.exe program, not myApp.jar. I'd recommend redirecting standard output of your Java application to something that can be accessed using TestComplete. Some approaches of the redirection can be found in Capturing contents of standard output in Java. For example, if you decide to redirect output to a file, you'll be able to get this output from TestComplete using the techniques from the "Working With Files From Scripts" help topic.