Random rnd = new Random();
char supName = (char) (rnd.nextInt(26) + 'a');
supID.sendKeys(supName);
I have a supplier text area, if I put any character then it will show supplier suggestion based on input like google suggestion (eg. if I enter "a" then it will show suggestion of all supplier whose name start with A.)
I wrote above code for the same but it is not working with sendKeys.
I am beginner to selenium.
.sendKeys(supName)