Sending Messages to the Test Results Window - WinRunner

You can define a message in your test script and have WinRunner send it to the test results window. To send a message to a test results window, add a report_msg statement to your test script. The function has the following syntax:

report_msg ( message );

The message can be a string, a variable, or a combination of both. In the following example, WinRunner gets the value of the label property in the Flight Reservation window and enters a statement in the test results containing the message and the label value.

win_get_info("Flight Reservation", "label", value);
report_msg("The label of the window is " & value);

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

WinRunner Topics