Is there a way to generate a unique username value for the signup page username textbox using selenium webdriver instead of hardcoding it?
For example:
driver.findElement(By.id("username")).sendKeys("Pinklin") ;
When "Pinklin" is hardcoded, running the script a second time may result in a username already exists error.
What alternatives exist for providing a unique value instead of hardcoding it?