generate random text : Automation API

generate random text

Class library usage, coding and language questions.

generate random text

Postby akommalapati » Wed Dec 14, 2011 2:06 pm

Hi,

I have requirement to create users on a web site for that username and email should be unique.
Can u please give me a code snippet for generating random text for username with length as 12 (alphanumeric).

Thanks
Ajay
akommalapati
 
Posts: 21
Joined: Wed Dec 07, 2011 3:54 pm
Location: India

Re: generate random text

Postby Support Team » Thu Dec 15, 2011 6:27 pm

Hi,

Create a CodeModule and use the method
Code: Select all
StringTools.GenerateRandomeAsciiString

for that.

Keep in mind that this is an internal method which could change.

Regards,
Martin
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4843
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests