Tip of the Week! Reuse Tests Across Environments & Data with Step Parameters

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

  1. In your test steps: Add {{parameter_name}} anywhere in step descriptions or expected results
  2. In Settings → Step Parameters: Define possible values for each parameter (e.g., environments, browsers, user types)
  3. Set defaults if you want

:backhand_index_pointing_right: Full guide in our Help Center

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! :backhand_index_pointing_down:

That’s a good tip, actually. One place where this has been useful is validating the same business flow across regional deployments. The workflow is identical, but URLs, user accounts, currencies, and expected values differ by region. Instead of maintaining separate tests for each market, we keep one test and parameterize the environment-specific data. It has made regression updates much easier because any change to the flow only needs to be implemented once.

1 Like