I have an issue where a parent test is extracting a value from its dataset and which is used in the first iteration through the subtest, but when it comes back to reuse it an error re the extracted variable not being in the store occurs.
What I've got is:
0 – Login - extracts value A from login dataset
1 – Do scenarios - for each record in "scenario" dataset and create NEW dataset based on information extracted from "scenario" dataset AND "extracted value A"
2 – run tests based on created dataset
Now as each test/subtest has its own dataset, it can’t inherit from its parent BUT the first run through test #1 it uses "extracted value A" with no problem. When it attempts to run through it again the "extracted value A" appears to have been lost as it throws an error when I'm recreating the dataset.
Each subtest is set as a test fragment, and they both reuse the app window. Only the initial "0 - Login" test is set to use a new window - but that it isn't getting that far.
Hopefully I haven't confused you.
Any ideas?
Thanks
Cheryl