loading...

re: How do you do random? VIEW POST

FULL DISCUSSION
 

I'm a tester and I use random in my automation. In groovy, I use:


import org.apache.commons.lang.RandomStringUtils as RandomStringUtils
WebUI.setText(findTestObject('someWhereToPutNumbers'),RandomStringUtils.randomNumeric(4))

code of conduct - report abuse