在LR的树型视图中提供了图形方式展现测试步骤。
A snapshot is a graphical representation of the current step. When working in Tree view, VuGen displays the snapshot of the selected step in the right pane. The snapshot shows the client window after the step was executed.
VuGent在录制和回放脚本时都会产生Snapshot文件。
VuGen captures a base snapshot during recording and another one during replay. You compare the Record and Replay snapshots to determine the dynamic values that need to be correlated in order to run the script. For more information, see the section on correlation after recording.
录制时的Snapshot文件存在脚本目录中的data文件夹,在每一次回放脚本时会把Snapshot文件保存在result目录中对于的回放目录,例如Iteration1、Iteration2...
默认情况下,VuGen将录制的Snapshot跟第一次回放的Snapshot进行比较,但是我们也可以自己选择回放的Snapshot。
Each time you replay the script, VuGen saves another Replay snapshot to the script's result directory: Iteration1, Iteration2, and so forth.
By default, VuGen compares the recording snapshot to the first replay snapshot. You may, however, select a different snapshot for comparison. To select a specific replay snapshot, select the expanded menu of View > Snapshot > Select Iteration. Select a set of results and click OK.
LR树型视图与Snapshot详解

本文介绍了LoadRunner (LR) 中树型视图的功能及其如何通过Snapshot提供图形化的测试步骤展示。录制和回放期间产生的Snapshot文件有助于确定需要关联的动态值,确保脚本的稳定运行。
545

被折叠的 条评论
为什么被折叠?



