在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.