Test Data Profiles (Creating & Managing)

Parameterize Test Cases Using a Data Profile

Parameterizing your test cases lets you replace hardcoded values with dynamic, reusable data. Instead of running the same test multiple times with manual changes, link your test to a data profile and have it iterate over each data set for thorough, efficient coverage.

Click the pencil icon to edit your test case.

Image

Go to the test data profile section. View your existing profiles with user account details, such as usernames and passwords.

Image

Select test cases from the navigation.

Image

Open the test case you want to parameterize.

Image

Select all the test steps you want to repeat with different data values.

Click create for loop.

Image

Choose your test data profile. Pick a range for the test (like User 1 to User 3) to define which rows to cycle through.

Click create.

Image

Refresh and check that a for loop now wraps your selected steps.

Step 10: Replace any hardcoded values with data profile parameters:

  • Click edit on a test step.

  • Remove the fixed value, select parameter, and pick the right field (e.g., username).

    Image

Click update to save it.

Image

Repeat for other inputs (e.g., password):

  • Click edit.

  • Choose the parameter (e.g., password).

    Image

Click update.

Image

Start your test execution.

Image

As the test runs, it automatically cycles through each entry in the data profile. The same steps repeat for each user—no extra setup needed. You can run tests for all rows or limit the range as needed.

Image

Parameterizing your test case with a data profile makes your automation flexible and easy to maintain. You save time, prevent duplication, and quickly adapt to new data without editing the test steps.

Supporting Videoarrow-up-right

Last updated