08-14-2008, 08:55 PM
While it can be done easily, I am not sure why you want a hard coded statement in your scripts... a sync statement or a loop which checks for the existence of an object would be better...
anyways here goes the syntax...
anyways here goes the syntax...
Code:
Dim X
X = Int(596 * rnd() + 5) ' This will generate an integer between 5 and 500
wait(X)
Want to fast track your QTP/UFT Learning? Join our UFT Training Course