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
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
How to open browser in vb script?
How are values assigned to the variables in the vbscript language?
how to check whether link is disabled in QTP??
what do you mean .ota mobile format
How regexp.execute method works?
What is vbscript procedures?
Explain the filter expression?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
How will you get the last occurrence of one string within another string using vbscript?
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
What is the output of a + b in vbscript if a = 5 and b = 10?
Explain the operator precedence in vb script?
give me any information abou vb script books learn quckly
How will you get the largest subscript of an array in vbscript?