I am trying to generate random characters - may be string or symbols or just random numbers sometimes for my test.
Example strings: Anything within A-Z, or from 0-9, 0r speacila characters such as @#$%^&&. May be 3 or 4 words. I should be able to choose what to send.
These will be sent to a text field to test.
Right now the code I use just generates random number (Example : 7dc53df5-703e-49b3-8670-b1c468f47f1f) which doesn't make sense all the time.
Is there any better way to implement this? How can I control what I want to send.
My code:
String uuid = UUID.randomUUID().toString();
waitAndClickElement(textTitle);
sendKeysToWebElement(textTitle, uuid);