OK, thanks for all your responses.

I was able to randomize it properly.

i have another question which I will create  new topic.

thanks again 

On Wednesday, November 27, 2013 6:20:12 AM UTC-5, uma mahesh wrote:
>
> Why dont you use date and time as a string.
>
>
> On Wed, Nov 27, 2013 at 11:25 AM, Wayne Hirata 
> <[email protected]<javascript:>
> > wrote:
>
>> Randomize
>>
>> x(1) = "Miss"
>> x(2) = "Dr."
>> x(3) = "Capt."
>> x(4) = "Mr."
>>
>> s = x(  1 +  Int(  Rnd() * UBound(x)  )  )
>>
>> print s
>>
>>
>>
>> On Sunday, November 17, 2013 7:41:53 AM UTC-10, george wrote:
>>>
>>>
>>> Hi,
>>> i have web app that creates forms.
>>> I need to enter text in the form title, name and description fields and 
>>> save the form.
>>> Form title and name is unique and I was thinking to set random unique 
>>> string and/or integer.
>>> How can I do this in Descriptive programing, i am not using OR at all.
>>>
>>> I would like to do thi 4-5 times to create multiple forms.
>>>
>>> Browser("title:=.*").Page("title:=.*").webEdit("name:=
>>> dataElementForm.title").Set "some title"
>>> Browser("title:=.*").Page("title:=.*").webEdit("name:=
>>> dataElementForm.name").Set "some Name"
>>> Browser("title:=.*").Page("title:=.*").webEdit("name:=dataElementForm.
>>> shortDescription").Set "descriptions"
>>>
>>>
>>>  -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to