# Generate a Three-Digit Random Number in Scenario Editor

# Generate a Three-Digit Random Number in Scenario Editor

Use generated numeric data when a Scenario Editor test needs a simple unique or variable value. Keep the generation rule easy to understand and validate that the application accepts the expected numeric range.

## Recommended approach

- Generate values from 100 through 999 when a true three-digit number is required.
- Use a DPL or approved helper when the value must be reused across steps.
- Store the generated value if later validation needs to compare it.
- Avoid using random values for data that must be repeatable for troubleshooting.

## Validation workflow

1. Generate the number before the input step.
2. Enter it into the target field.
3. Validate that the application saved or displayed the same value.
4. Capture the value in output when diagnosing failures.

**Last updated:** September 9, 2026