• No results found

Main VuGen User Interface

In document vugen (Page 78-85)

VuGen provides several views for examining the contents of your script: a text-based Script view, an icon-based Tree view with snapshots, or an icon-based Thumbnail view.

The Script and Tree views are available for most Vuser types. Many protocols also support the Thumbnail view.

UI Elements (A-Z) Description Show client during

replay

Displays the Citrix client when replaying the Vuser script.

Show Bitmap Selection popup

Issues a popup message when you begin to work interactively within a snapshot. VuGen issues this message when you select the right-click menu option Insert Sync Bitmap or Insert Get Text, before you select the bitmap or text.

User interface elements are described below:

UI Elements Description Tree View Tab

(tree view only)

Displays the Vuser script in an icon-based format, with each step represented by a different icon.

Use the drop-down list above the tree to select a section of the script to display.

You can manipulate steps by dragging them to the desired location. You can also add additional steps between existing steps in the tree hierarchy.

Thumbnails Tab (tree view only)

For several Vuser types such as Web, SAPGUI and Citrix, you can view thumbnail representations of the snapshots.

By default, the thumbnail view only shows primary steps in your script. To show all thumbnails, select View > Show All Thumbnails. VuGen shows the thumbnails for all of the steps in the script.

For multiple iterations, the VuGen shows the replay thumbnails for the last iteration. To show the thumbnails of a specific iteration, select View > Snapshot > Select Iteration and select the desired iteration.

Action Pane Divides the script into its major sections. Click on a section to display its contents in the other panes. This pane is displayed by default in the script view. To change the situations in which this pane is displayed, select View >

Actions and select the desired option(s).

Script Pane (script view only)

The Script pane lets you view the actual API functions that were recorded or inserted into the script. This view is for advanced users who want to edit the script by adding "C" or Vuser API functions as well as control flow statements.

You can add steps to the script using the Insert > New Step command. Alternatively, you can manually enter functions using the Complete Word and Show Function Syntax features. For more information, see "VuGen Code Tools" on page 45.

If you make changes to a Vuser script while in the Script view, VuGen makes the corresponding changes in the Tree view of the Vuser script. If VuGen is unable to interpret the text-based changes that were made, it will not convert the Script view into Tree or Thumbnail view.

Snapshot Pane A snapshot is a graphical representation of the current step.

Depending on the type of protocol, the snapshot displays different types of data about the selected step.

For detailed user interface information about the snapshot panes for different protocols, see "Snapshot Pane" on page 95.

VuGen captures a base snapshot during recording and another one during replay. You can compare the Record and Replay snapshots to determine the dynamic values that need to be correlated in order to run the script.

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.

The following toolbar buttons let you show or hide the various snapshot windows.

View recording snapshots only.

UI Elements Description

View both recording and replay snapshots.

View replay snapshot only.

Output Window A pane on the bottom of the main window displaying data collected during replay and recording.

Task Pane Displays shows a list of the tasks required in order to create a functional script. Click on any task within the list to open that step in the wizard. VuGen indicates the current task with an arrow. For more information, see "Task Pane Overview" on page 40.

Advanced Toolbar

Insert New Parameter.

Insert New Step. Inserts a new step into your script (tree view). For task details, see "How to Insert Steps into a Script"

on page 161.

View Test Results. Opens the Test Results Window. For more information, see "Test Results Window" on page 180.

Debug Tools Toolbar Step.

Toggle Breakpoint.

Enable/Disable Breakpoint.

Edit Toolbar

Cut.

Copy.

UI Elements Description

Paste.

Undo.

Comment Selection.

Uncomment Selection.

Increase Indent.

Decrease Indent.

Record Toolbar

Start recording your application. Initializes the recording session.

Run. Runs/replays the script.

Stop. Stops a script.

Pause. Pauses a script while running.

Compile. Compiles the script.

Create New Action. Creates a new action section in your script.

Insert Start Transaction. Inserts a start transaction marker at the specified location.

Insert End Transaction. Inserts an end transaction marker at the specified location.

Edit Recording Options. Opens the Recording Options dialog box. For more information see "Recording Options"

on page 313.

UI Elements Description

Insert Rendezvous. This options is only available in the floating toolbar when recording. For information about rendezvous points, see"Rendezvous Points" on page 150.

Insert Comment. Inserts a comment into the script. This options is only available in the floating toolbar when recording.

Insert Text Check. This options is only available in the floating toolbar when recording a Web (HTTP/HTML) or related script. This button inserts a text check into your script during recording. For more information about text checks, see "How to Add Text and Image Checks" on page 858.

Insert Sync on Bitmap. This options is only available in the floating toolbar when recording Citrix and RDP scripts. It allows you to insert a synchronization step based on a specified area of the snapshot.

Insert Sync on Text. This options is only available in the floating toolbar when recording Citrix and RDP scripts. It inserts a synchronization step based on a specified selection of text.

Insert Sync on Image. This options is only available in the floating toolbar when recording an RDP script. It inserts a synchronization step based on a specified image.

Standard Toolbar

New. Create a new Vuser script.

Open. Open an existing Vuser script.

Save. Save the current script.

Protocol Advisor. Opens the Protocol Advisor. For more information, see "Protocol Advisor" on page 99.

TreeView Toolbar

UI Elements Description

Properties.

Insert After.

Insert Before.

Delete Step.

Tools Toolbar

Create Controller Scenario. Creates a basic controller scenario while remaining in the VuGen application. For details, see "How to Create a Controller Scenario from VuGen" on page 153.

HP ALM. Opens a connection to HP Application Lifecycle Management, allowing you to save and work with scripts saved in ALM. For more information, see "Working with Application Lifecycle Management" on page 251.

View Toolbar

View Tasks. Displays the task pane. For more For more information see the description of the task pane above.

View Script. Switch to the script view. For more information about the UI elements in the script view see above.

View Tree. Switch to the tree view. For more information about the UI elements in the tree view see above.

Show/Hide Output Window. Displays the output window.

For more information see the description of the output window above.

Vuser Toolbar

UI Elements Description

In document vugen (Page 78-85)

Related documents