Use different data for reusable actions

  • Questions
  • Use different data for reusable actions
Question ID: 104750
2
0

I want to use one of my reusable actions in various different tests, but I want to use different data in the datatable for each test. Do I have to make multiple reusable actions to use different data?

Marked as spam
Posted by (Questions: 344, Answers: 24)
Asked on December 11, 2012 10:58 pm
13 views
Answers (1)
1
Private answer

You do not have to make multiple actions. All you have to do is call the action from your test, then go to Edit>Action>Action Properties and click the External Action tab. On this tab under Data Table Parameters, you can choose to:

- Use data stored with original action (ready-only)
- Use a local, editable copy

Just choose to Use a local, editable copy and you can customize the data used for each test that calls it.

Marked as spam
Posted by (Questions: 16, Answers: 754)
Answered on December 11, 2012 11:24 pm
That's so great to know!!
( at December 11, 2012 11:25 pm)