0

I am looking for a random alpha-numeric with special symbols password generator for automating a web application where i need to create new password every time the scenario is executed. For example, a generated string of length 9 might look something like "ZgFd123$#"

Mahadev
  • 1
  • 2

1 Answers1

0

You can see here. Or you can user Java Random() and Character from 33 to 126. Example:

Random random = new Random();
String str="";
for (int i=0; i<9;i++){
    str += Character.toString(random(93)+33);
}
Community
  • 1
  • 1
Sah4ez
  • 93
  • 1
  • 8