How to generate 3 digit random number?
Answer Posted / nazeer ahmed
dim upperlimit
dim lowerlimit
dim randomnumber(4)
upperlimit = 500
lowerlimit = 1
For x = 0 to 4
randomize timer
randomnumber(x)=Int((upperlimit-lowerlimit+1)*Rnd)+lowerlimit
msgbox randomnumber(x)
Next
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are the special sub-types in vbscript?
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
What is the event handling in vbscript?
How to delete a cookie using vbscript?
Explain the filter expression?
Explain the support of asp for vb script functionality?
How to write VB script for login module?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
Mention how to create a cookie using vbscript?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
How to make sure that items in a wintree are sorted al?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
What are the disadvantages of vbscript?
Mention characteristics of sub procedures?
How will you get a combined string from array of string in vbscript?