How to generate 3 digit random number?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prathyusha
Randomize
intmax=1000
intmin=300
rNum=Int((intmax-intmin+1)*Rnd+intmin)
MsgBox rnum
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / eswar
For i=1 to 3
x = RandomNumber(1,9)
y=y&x
Next
MsgBox y
Is This Answer Correct ? | 0 Yes | 1 No |
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
What is the use of option explicit in vbscript?
What is Querystring collection?
write a vb script to add two 2*2 matrix
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
. Program for sorting of numbers in vb script?
Difference between Do while loop and while wend loop
Write a Fucntion to close all Opened browser expect desired one?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
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
write a vb script to generate 3*3 matrix
i want to when we will write the scripts either after getting the build or after getting the SRS?