Value From Set doesn't generate random value
Hi
Not sure if I'm using this wrong, or I stumbled onto an error.
I've got a Data generator step which creates an accountType.
Settings are as follows:
Property Type: Value From Set
Custom values:
abc
def
Generation Mode: random
Duplicate each value: disabled
Whenever I test this, even with 20 rows, all I get is abc.
If I set generation mode to Sequential, abc and def are alternating as expected.
For my test I just generate 1 line at a time, and I need this to be a random selection between abc and def.
Cheers
Edit:
If I add a third value, eg. ghi to the custom value set, the script now selects one of the first 2 values at random, ie. abc or def.
Is this possibly a bug in ReadyAPI where the Date Generator doesn't understand the range of the array?