LR View a specific output information after the scene

xiaoxiao2021-04-02  220

Add the information you want to output in the script. After running, view the result in the Output Form (Note It is an Output Form, not Output.txt file)

Add the LR_OUTPUT_MESSAGE () function in the right place in the code.

such as:

Action ()

{

****;

Lr_output_message ("Run the% S Wheel, Number =% S", LR_EVAL_STRING ("{Route}"), LR_EVAL_STRING ("{Digital}"));

****;

Return 0;

}

The blue part is parameterized, and the runtime parameter takes the value from the file.

Set multiple virtual users in the scene to run the script, after running, select: View-> show Output

(I have been looking for a long time, I have always thought that I can find the results of the record scene in the * .log file.)

The result of the scene run is displayed in the pop-up form, which can be selected to display all of the run results in the form, or select the virtual user to display the operation results separately. You can export the displayed results to the file, you cannot directly export to the Excel table, but you can export it to * .txt, then directly save it to * .xls, if needed

Write first, now make up:

To see the output results above, you must first set up log. Write several virtual users on the right side of the virtual user when setting the scene, click it and set the log, select Always Send Message, and other problems are not big. OK is over.

转载请注明原文地址:https://www.9cbs.com/read-131379.html

New Post(0)