New to javascript – I’m trying to generate random user ID’s for my selenium test scripts. I’m using this line for my value:
javascript{Math.floor(Math.random()*11111)}
However, one particular field requires a value with exactly 8 numbers – is there a way to write this so that it returns an exact number of digits?
Thanks!!
1 Answer