Skip to main content

Link Parameters and Dataset to a Test Case

Link a dataset or use it as template while adding or editing test cases in TestCollab

Shriti Grover avatar
Written by Shriti Grover
Updated over 2 weeks ago

Insert variables on the fly—just wrap them in double-curly braces like {{email}} or {{role}}—and TestCollab automatically links those placeholders to an agile-friendly test dataset instead of hard-coding values.

1 . Insert parameters in the step editor

  • While adding or editing a test case, type a variable name inside double curly braces—for example {{email}}.

  • TestCollab checks for an existing dataset that already contains that parameter and, if one exists, suggests it just below the step editor.

  • Case doesn’t matter: {{Email}}, {{EMAIL}}, and {{email}} are treated the same.

2 . Choose how to link a dataset

Option

What it does

Typical use

Select

Links an existing dataset to the test case. Only the parameters that actually appear in steps or expected results are used during execution.

When you already have a shared dataset that fits the case.

Use as template

Copies the chosen dataset, then lets you add or delete columns (parameters) and rows. A brand-new dataset is created when you save.

When you need a one-off variant without changing the original dataset.

3 . Edit a linked dataset (permissions permitting)

With Select you can, right on the test-case page:

  • Change existing cell values.

  • Add new rows.

  • Add new parameters by typing additional {{parameter}} placeholders in your steps or expected results.

All edits are saved to the original dataset when you click Save Test Case.

4 . Unlink a dataset

If you need to break the connection, click Remove (found just above the dataset table). The test case keeps its parameters but is no longer tied to that dataset.

Quick recap

  1. Wrap data placeholders in {{ }} while writing steps.

  2. Pick Select to reuse a dataset or Use as template to copy and modify it.

  3. Edit values or structure as needed, then Save.

  4. Click Remove any time to detach the dataset.

Did this answer your question?