I need help in creating a random Alphabetic string each time while executing the web application

Example:WebUI.setText(findTestObject(‘Join_OR/Page_AAA - Select Level (1)/input_primaryMemberLastName’), ‘xxxx’)

You can try passing ascii values inside a for loop and store the output in a variable and set it to text field