Skip to main content

Retrieve Numeric Values from Text

Retrieve Numeric Values from Text

Use numeric extraction when a Scenario Editor test needs a number from text that also includes labels, symbols, or other characters.

  • Decide whether decimals, negative signs, or separators should be preserved.
  • Normalize the extracted value before comparing it with expected data.
  • Avoid losing leading zeroes when they are meaningful identifiers.
  • Capture the original text for troubleshooting.

Validation workflow

  1. Read the source text from the page, response, or stored value.
  2. Apply the numeric extraction rule.
  3. Validate the number against expected data or a range.
  4. Store the number if later steps need to reuse it.

Last updated: September 20, 2026