Service Virtualization

  • 1.  Facing issues while looping between two datasets

    Posted Apr 01, 2019 05:24 AM

    Hi All,

     

    I have a scenario where in my test case I have to loop in between 2 datasets -

     

    Scenario ---

    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 ?



  • 2.  Re: Facing issues while looping between two datasets

    Broadcom Employee
    Posted Apr 01, 2019 07:17 AM

    Are these datasets defined as local or global?

    Does the problem occur in ITR testing? Locally staged? Or Staged? (Or all three)

     

    Cheers,

    Danny



  • 3.  Re: Facing issues while looping between two datasets

    Posted Apr 02, 2019 09:52 AM

    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.



  • 4.  Re: Facing issues while looping between two datasets

    Broadcom Employee
    Posted Apr 01, 2019 05:49 PM