Engine.GetOutputMessages
Returns a reference to the OutputMessages object that TestStand maintains. This object is a collection that contains a list of the most recent output messages posted by the OutputMessage.Post method or OutputMessage expression function.
When the sequence editor displays messages in the Output pane, the sequence editor clears this collection after retrieving the most recent output messages. The messages are transferred as a result of the UIMsg_OutputMessages message.