Method SystemUtil.EndOfStream
Gets a value that indicates whether the stream position is at the end of the streamUsage
Function ZAP.SystemUtil.EndOfStream(
Boolean UseErrorOutput [Optional]
)
Parameters
UseErrorOutput (optional)
Type: Boolean
Default Value: False
Use Error Standard Output
Returns
True if the current stream position is at the end of the stream; otherwise false
Example
VBScript
Zap.SystemUtil.Run "java", "-classpath C:HelloWorld", null, True
Do While Not Zap.SystemUtil.EndOfStream
msgbox Zap.SystemUtil.ReadLine
Loop
JavaScript
Zap.SystemUtil.Run("java", "-classpath C:HelloWorld", null, true);
while (!Zap.SystemUtil.EndOfStream()) {
alert(Zap.SystemUtil.ReadLine());
}