Create Parameters

This topic describes how to create parameters for your VuGen script.

Note: To create parameters for DevWeb scripts, see Parameters for DevWeb.


This slideshow shows how to create a parameter within your VuGen script.

Back to top

Create a parameter

  1. Select the value you want to parameterize.

    Pane Do this
    Editor pane

    Select the value you want to parameterize, right-click, and select Replace with Parameter.


    • When creating XML parameters in script view, you must select only the inner xml, without the bounding tags. For example, to parameterize the complex data structure <A><B>Belement</B><C>Celement</C></A>, select the whole string, <B>Belement</B><C>Celement</C>, and replace it with a parameter.

    • When parameterizing Java Record Replay or Java Vuser scripts, you must parameterize complete values, not parts of a value.

    Step Navigator pane Right-click a step and select Show Arguments. Click the ABC icon next to the argument that you want to parameterize.
  2. Create a new parameter in the Select or Create Parameter dialog box.

    For user interface details, see Select or Create Parameter Dialog Box.

  3. Add a list of required values.

    1. From the Select or Create Parameter dialog box, select Properties.

    2. Create a table and add entries to serve as the list of values for your parameter.

    For user interface details, see Parameter Properties Dialog Box.

  4. Modify the parameter delimiters. (Optional)

    1. Open the Parameter Delimiters Configuration dialog box:
      • In the Solution Explorer pane, right-click the Parameters node and select Configure Parameter Delimiters.

      • Design > Parameters > Configure Parameter Delimiters

      • Tools > Options > Scripting > Parameters
    2. Modify the delimiters that surround parameters.

    For user interface details, see Parameter Delimiters Configuration Dialog Box.

Back to top