I see that by default, the tests iterate sequentially through the datapool records.
Is there a way to randomly select a datapool record?
I see that by default, the tests iterate sequentially through the datapool records.
Is there a way to randomly select a datapool record?
i would read the contents into an array and radomize the array.
Yes, I do believe there is and the approach is listed in the help file. Access to a data file can be Shared, Private, or Segemented. The Segmented approach is the closest to being random, but it still isn't the greatest approach out of the box.
We asked our trainer this very same question earlier in the week and he said that out of the box there is no way to randomly access the datapool like you could before.
His suggestion was to randomly generate your datapool and then access those random results sequentially.
i agree with "randomly generate your datapool and then access those random results sequentially"
You must log in to post.
Video embedded using Easy Video Embed plugin