Getting myself a little confused here. I have QTP script that has one action and within that action makes calls to reusable actions from other scripts.
I import a datatable into the script which contains a list of the environments i want the test to run in so the idea is the test will run once for every row in the table.
What I'm finding is when I call one of the actions which itself contains a datatable the datatable from the called action is being copied to the global table of the action that is calling it and overriding my list of environments.
Is this normal behaviour and am I looking at this all wrong.
My goal was to have a datatable outside of the script which I can update with the environments I want to run a test in. This datatable would then be imported into the test at runtime and run for every row in it.
Any ideas and feedback would be very appreciated