The RandomNumber Object - QTP

This object provides a method to get a random number between two specified values.

'This will randomly assign a number to x between 1-200

x=Randomnumber.value(1,200)

Since value is the default property for RandomNumber object, we can also use the following syntax:

'This will randomly assign a number to x between 1-200 x = RandomNumber (1,200)


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

QTP Topics