TruClient generates snapshots of interactive steps during recording and replay of a script. This topic describes how to work with snapshots.
What do you want to do?
TruClient generates snapshots during recording and replay according to the snapshot generation settings.
You can configure snapshot generation during recording and replay by clicking the General Settings button and selecting the Interactive Options tab. For details, see TruClient General Settings .
TruClient can also generate snapshots during load mode according to your specifications in the runtime settings.
Replay snapshots are stored in the results folder and are organized according to the type of replay (interactive or load), the script section, and the iteration.
The following table summarizes snapshot behaviors:
|Snapshot location||Snapshots folder structure|
Snapshots are created in memory
|Save script in Interactive Mode||
|During Interactive Replay||
Snapshots are generated after:
Snapshots are not generated when using:
|Load Mode run from VuGen||Snapshots are generated only when the setting is either Always or Snapshot On Error||Same behavior as in interactive only that the snapshot directory is Result\Load.|
|Load Mode run from Controller||
Snapshots are generated only when the setting is:
|Same behavior as in interactive only that the snapshot directory is <ResultDir>\log\<ScriptName>_<VuserNumber>.|
Double click a snapshot in the sidebar to display it in a new browser tab.
Snapshots can be viewed in the snapshot viewer in VuGen. For details, see How to Work with Snapshots.You can alsoview snapshots in the TruClient snapshot viewer.
The following table summarizes when the snapshot viewer will show snapshots:
Mode Type Interactive
- Interactive replay
- Load (VuGen Replay)
- Interactive replay
Steps with an error
Click the button in the sidebar. The snapshot viewer displays the snapshot in the right pane and adds the following elements:
Previous/Next. Navigates to the snapshot for the previous or next step. The corresponding step is highlighted in the script.Snapshot type
UI Element Description Recording Displays snapshots that were taken for a specific step during recording. Interactive Replay Display snapshots that were taken for a specific step during interactive replay. Iteration Display snapshots for a specific iteration during interactive replay mode. Load Mode Replay. Display snapshots that were taken for a specific step during load mode replay. Play Slide Show Display snapshots as a slide show. Stop Slide ShowView UI Element Description Single
Displays the snapshot for a single step.
Compare Splits the screen so you can compare snapshots from different modes. Use the Snapshot View buttons in each pane to select which snapshots to view. Click the Synchronize Scrolling button to synchronize scrolling between the panes. The snapshot error icon indicates that the snapshot is not current for the step. Thumbnail Displays the snapshots in thumbnails view.