Solution Explorer pane

You use the Solution Explorer to manage your Vuser scripts.

About the Solution Explorer

A solution contains Vuser scripts. Vuser scripts consist of script files, extra files (such as header files), runtime settings, parameters and replay runs. A solution can contain multiple scripts of different protocols. The Solution Explorer pane enables you to manage Vuser scripts.

Item Description
To access

Do one of the following:

  • View > Solution Explorer
  • Press Ctrl + Alt + L
Important information
  • Solution Explorer is automatically displayed as part of the default layout.
  • You can move this pane to different areas of the Main User Interface. For details, see How to modify the VuGen layout.
  • Other main interface panes such as Output, Error and Snapshot synchronize their displays based on your location in the Solution Explorer.
  • You can double-click an asset to activate it in the editor area or right-click to examine quick operations available for that asset.
  • You can bundle scripts in a single solution. For example you can bundle scripts related to one business process.

Note: The solution explorer cannot be imported into any of the existing management tools such as OpenText Application Quality Management or Controller.

Solution Explorer structure

The following table describes the components of the Solution Explorer.

Entity Purpose Remarks
Solution Container for all script objects. Give your solutions meaningful names, such as the name of the business process. The default solution name is "Untitled"
Scripts Creating, editing and debugging scripts.

Click once on a script, or one of its assets, to change the focus to that script. VuGen applies any actions, such as clicking replay, to the script in focus.

When any part of a script is selected, the menu options, toolbar and window panes display functionality relevant to the script's protocol. For example, if the script in focus is recorded in Web HTTP/HTML , the Recording Options button is displayed on the toolbar. However, if the script in focus is recorded in TruClient, the Develop Script button is displayed on the toolbar.

Double-click the script's action to open it in the editor.

You can drag and drop scripts (<scriptName>.usr) from the file directory to the Solution Explorer.

Extra Files Storing extra files that are used by the script.

The data contained in extra files can include:

  • Common utility functions used by the script (for example, code)

    You can add some types of extra utility function files to the parsing list to extend their functionality. For example, adding files enables "Go to Definition" functionality. See the Options dialog box.

  • Definition of constants and variables used by the script (for example, code)
  • Special assets used during script execution (such as .jpeg files)
  • Data files manipulated by script code during script execution
  • Additional files to be parsed. For details, see Create and open Vuser scripts.

    The following are examples of valid file types that can be added as extra files:

    .ws, .h,.c., dat, .ini, .vbs, .java, .js, .txt, .tux, .rec, .msc, .vdf, .xml, .xsl, .dtd, .html, .htm

You can drag and drop header files (<headerFileName.h> from your file directory. When you include files in the Extra Files node, these files are automatically included in a Controller scenario.

You can edit extra files in the editor if the file type is included in Tools > Options > Scripting Tab > Script Management. Double click the extra file to open it in the Editor. For details on how to modify the list, see Scripting tab.

Runtime Settings Defining the way a Vuser script runs. You can access runtime settings for a specific script from the Runtime Settings node in the Solution Explorer > <Script> > Runtime Settings. For details, see Runtime settings.
Parameters Creating and managing parameters. You can access parameters for a specific script from the Parameters node in the Solution Explorer > <Script> > Parameters. For details, see Parameterize scripts.
Replay Runs Enables you to access the Replay Summary Reports for each iteration in the replay.  

Back to top

Solution Explorer structure and context menu options

The following table lists the context menu options when working in the Solution Explorer.

UI Element
Context menu options
<Solution>

Container for scripts.

  • Add > New Script: Creates a new script and adds it to the solution. For details, see Create a New Script dialog box.

  • Add > Existing Script: Adds an existing script to the solution.

  • Save All Scripts: Saves the changes of all open scripts.

  • Close Solution: Closes the current solution, along with its scripts, without saving the changes.

  • Save Solution As...: Saves the solution with a new name or to a new location.

<Script>

Container for script assets including scripts actions, extra files, runtime settings and parameters.

  • Save Script: Saves the current script.

  • Save Script As...: Saves the script with a new name or new location.

  • Export to Template...: Saves the script as a template. For details, see Create Vuser script templates.

  • Export to Zip FIle...: Saves the script as an archive zip file.

  • Git > Create Local Git Repository: Opens the Track Script dialog box to enable you to stage all scripts not configured as ignored files. The dialog box contains a link to edit the Ignore list.

  • Remove Script: Deletes a script from the solution or from the file directory. The Remove Script dialog box contains an option to also delete the script from your drive.

  • Select Folder to Compare: Compares one folder to another. The highlighted folder is the primary folder.

  • Compare to <filename>: Compares the primary file with the specified file.

  • Compare to External Folder...: Compares the selected folder and the primary folder.

  • Open Script Folder: When you record, VuGen creates a series of configuration, data, and source code files. These files contain Vuser runtime and setup information. VuGen saves these files together with the script. You can open the folder on the local disk where the script is saved. For scripts that are saved on a different storage location (such as OpenText Application Quality Management), this option opens the temporary folder on the local disk.

  • Properties: Opens the Properties pane showing the selected script's properties. For details, see VuGen user interface.

<Actions>

Container for individual actions including the default actions: vuser_init, Action, and vuser_end.

  • Create New Action: Adds a new script action block to your script.

  • Import Action: Imports an action from an existing script.

Extra Files

Container for extra files associated with your script. You can access these extra files directly from VuGen.

  • Create New File: Creates a new file, and adds it to the Extra Files node of your script.

  • Add Files to Script: Adds files to the Extra Files node of your script. The files that you add must already exist.

  • Add Files from Folders and Sub-folders: Adds the contents of folders and sub-folders to the Extra Files node of your script.

Parameters

Enables you to create, edit, and list parameters associated with your script.

  • Parameters List: Opens the Parameter List dialog box. For details, see Parameterize scripts.

  • Create New Parameter: Opens the Select or Create Parameter dialog box.

  • Edit Parameter: Opens the Parameter Properties dialog box.

  • Configure Parameter Delimiters: Opens the Parameter Delimiters Configuration dialog box, enabling you to specify a right and left delimiter or use the global settings.

  • Export/Import Parameters: Enables you to export or import a parameter list stored in a .prz archive file.

Replay Summary

Open Replay Summary: Opens the Replay Summary report in the Editor for the selected iteration.

Back to top

See also: