Configure Extract
Give it a variable name and write in exact instructions you want to tell Spur under ‘extraction instructions’. You can extract up to 5 variables in a single extract step.

Generating Random Emails
You can generate random email addresses directly in your test steps using natural language. This is useful for sign-up flows, form submissions, or any scenario that requires a unique email each time. In a Type step, describe the email format you want. For example:abcdefghij1@testdomain.com on each run. To reuse this email later in your test, add an Extract step right after to save it as a variable.
Write your Type step
Describe the random email format you need in a Type step. Use natural language to specify the structure, length, and domain.
Extract the generated email
Add an Extract step immediately after. Give it a variable name (e.g.
Email_address) so you can reference it in later steps.Accessing Extracted Variables in JavaScript
You can access extracted variables in JavaScript steps using thewindow.env or env object:
Email_address, you can reference it in a JavaScript step as window.env.Email_address or env.Email_address.
Common Testing Flows
E-commerce Flows
E-commerce Flows

Form Validation
Form Validation

Dynamic Data Processing
Dynamic Data Processing



