Create Parameters

Slideshow

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.

    Note:

    • 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 braces. (Optional)

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

      • Design > Parameters > Configure Parameter Delimiters

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

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

Back to top