Wednesday, July 16, 2008

Parameterizing Values

  • You can use the parameter feature in QuickTest to enhance your test by parameterizing the values that it uses. A parameter is a variable that is assigned a value from an external data source or generator.

There are four types of parameters:

  • Test/action parameters. Test parameters enable you to use values passed from your test. Action parameters enable you to pass values from other actions in your test.
  • Data Table parameters. Enable you to create a data-driven test (or action) that runs several times using the data you supply. In each repetition, or iteration, QuickTest uses a different value from the Data Table.
  • Environment variable parameters. Enable you to use variable values from other sources during the run session. These may be values you supply, or values that QuickTest generates for you based on conditions and options you choose.
  • Random number parameters. Enable you to insert random numbers as values in your test.

No comments: