Hello,
Looking at your requirement, try using our advanced automation product, Automation Anywhere that provides variable support. You can create random variables using Automation Anywhere. You can view a demo on it at,
Automation Anywhere - Learning Center
You can use the random variable created with 'Insert Keystrokes' command from Insert Variable list box.
You can download free trial version of Automation Anywhere 5.5.2 from our website:
Automation Anywhere - The Automation Software. Automate & Schedule IT & Business processes easily.
Hope that helps.