Customizing HTML User Data With an Existing Parameter

  1. Choose File > Add TrueLogs to load a TrueLog into TrueLog Explorer. The TrueLog must be based on a Try Script that has had all static session information removed from it.
  2. Click Customize User Data on the workflow bar. The Workflow - Customize User Data dialog box opens.
  3. Click the Customize user input data in HTML forms link.
  4. Click Find Next or Find Previous on the Step through TrueLog dialog box to browse through all WebPageSubmit calls in the TrueLog.
    Note: These are the calls that are candidates for user data customization.
    The Request page shows the page that contains the HTML form that was submitted by the selected WebPageSubmit call. When the cursor passes over a form control, a tool tip shows the name of the control in addition to its initial and submitted values.
    Note: Highlighted HTML controls on the Request page identify form fields that can be customized.
  5. On the Request page, right-click the form control that you want to customize and choose Customize Value. You can replace the recorded values with various types of input data (including predefined values from files and generic random values) and generate code into your test script that substitutes recorded input data with your customizations. The Parameter Wizard opens.
    With the Parameter Wizard you can modify script values in two ways:
    • Use an existing parameter that is defined in the dclparam or dclrand sections of your script.
    • Create a new parameter based on a new constant value, random variable, or values in a multi-column data file.

    After you create a new parameter, that parameter is added to the existing parameters and is available for further customizations.

  6. Select Use existing parameter. This allows specification of an existing parameter that is defined in the dclparam or dclrand sections of the test script.
  7. From the list box, select the datatype to use. This list shows all the variables that have been defined in the dclparam and dclrand sections of the test script.
  8. Click Finish. The test script will be modified with the new parameter.
  9. Click Find Next on the Step through TrueLog dialog box to locate the next form field to be customized.