How many times have you created basically the same test, just with different data?
For example, a login test for Dev environment, another one for Staging, another for Prod. Or a search test for Chrome, Firefox, and Safari. Each one is 95% identical—just a few values change. It’s repetitive, hard to maintain, and makes your test library bloated.
Step Parameters solve this in an elegant way: write the test once, run it with different data as many times as you need.
Here’s How It Works
Instead of hardcoding values, you use placeholders like {{parameter_name}} in your test steps. When you run the test, you fill in each parameter with the data you want.
Example:
Instead of three separate login tests:
Test 1: Navigate to dev.app.com, login with admin
Test 2: Navigate to staging.app.com, login with admin
Test 3: Navigate to prod.app.com, login with admin
Write one test:
Navigate to {{environment_url}}
Enter username {{username}}
Enter password {{password}}
Click Login
Then run it three times—once for Dev, once for Staging, once for Prod. Same test, different values.
Setting Up Step Parameters
- In your test steps: Add
{{parameter_name}}anywhere in step descriptions or expected results - In Settings → Step Parameters: Define possible values for each parameter (e.g., environments, browsers, user types)
- Set defaults if you want
Common Use Cases
- Multi-browser: {{browser}} = Chrome, Firefox, Safari, Edge
- Multi-environment: {{environment_url}} = dev, staging, prod
- Multi-user: {{user_role}} = Admin, Editor, Viewer
- Data-driven: {{product_name}}, {{price}}, {{search_term}}
The Big Win
One test instead of ten. Same test logic across all scenarios. Update once, everywhere improves. Your test library stays clean and maintainable.
Now we’d love to hear from you:
Are you already using Step Parameters? How has it changed your test creation workflow? Or if you’re not using them yet, what’s keeping you from it—is it the setup, or just not knowing they existed?
Share your experiences in the comments below! ![]()