Forum Discussion

DeepaJ's avatar
DeepaJ
Contributor
9 years ago
Solved

Generate Data - not generating random strings but saves a default value

I have a Reference field, where I am entering a random string (min 1 to max 20 chars) and I need this to be unique with a combination of 2 other fields. I've created this variable using Data Generat...
  • NisHera's avatar
    NisHera
    9 years ago

    You can write simple script and call it from keyword test

    following is using jscript to give you random number between 1 and 100

     

    Math.floor((Math.random() * 100) + 1)