Avinash Motwani said:
Simply import →
import org.apache.commons.lang.RandomStringUtilsType below and run — >
System.out.println(“Random===>”+RandomStringUtils.randomNumeric(5)) // replace any number by 5
Then Check console
Very Thanks, This worked for me, my command was like this
WebUI.setText(findTestObject(‘Page_CreateEvent/input_title1’), ‘Event Draft Automation 02’ + RandomStringUtils.randomNumeric(5))