New to Telerik Test Studio? Download free 30-day trial

Generate Random Number Step

The Generate Random Number step allows you to generate random number during test run-time and use it later in the test.

The article demonstrates how to add this type of step into the test.

Choose the Generate Random Number option from the Step Builder and click on the Add Step button in the lower right corner of the pane.

Add Generate Random Number step

There are few notable properties of the step:

  • Min Value - the smallest number which can be assigned to the data bind variable.
  • Max Value - the largest number which can be assigned to the data bind variable.
  • DataBindVariableName - the name of extracted variable to use to output the generated data.

Generate Random Number step properties

In this article