how can you select random value for every iteration from a
weblist
Answer Posted / amarendra kothuru
First get the Items count from the List and Use the
RandomNumber() function to get the random Index value. The
below code will work
ItemsCount = Browser("Browsername").Page("PageTile").WebList
("WebListName").GetROProperty("items count")
Browser("Browsername").Page("PageTile").WebList
("WebListName").Select ("#" & RandomNumber(0,ItemsCount))
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
How do you check ticket cost and ticket number in flight application?
How the smart identification is used in real time?Please explain with an example
Hoe can we do retesting using functions please give the code for it using login page
What is the difference between byref and byval in qtp?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
Difference between test object and run time object?
How to creating an output value using quicktest professional (qtp)?
Can the user toggle between using Local OR and shared OR for the same action?
Define Canvas view of UFT?
Explain types of output values?
For which type of project the iterative model is suitable?
How to release all resources file from the QTP?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
How to use checkpoints in qtp ?
How to remove the associated function library?