I have a scenario where in my test case I have to loop in between 2 datasets -
1. Step a -- I am using a load a set of file names datasets for different sets of files in which values are parametrized and read using other dataset.At end of data , ending the test.
Next step ----- Step b
2. Step b -- I have used Read rows from excel dataset and at end of data i am sending it back to step a.
Next step --- pointing it to itself, so that all the rows of current data set is used.
Problem ----- This is working fine for 1st recordset of load a set of filenames dataset but for next row of the same data set , it is unable to read the rows from excel dataset. It is saying end of data.
2nd dataset pointer is not setting back to 0th row again.
Can anyone help me with this ?
Are these datasets defined as local or global?
Does the problem occur in ITR testing? Locally staged? Or Staged? (Or all three)
nothing is changed in results if i marked dataset as global or local.
this problem occurs in all three.
2nd dataset for next row of 1st dataset is not reading the values again.
Add Step b into a Subprocess Test case. This should reset the 2nd dataset
here are some links to create a subprocess tescase.
Create a Subprocess Test Case - DevTest Solutions - 10.1 - CA Technologies Documentation
Subprocess Example - DevTest Solutions - 10.1 - CA Technologies Documentation
Execute Subprocess - DevTest Solutions - 10.1 - CA Technologies Documentation