how can you select random value for every iteration from a
weblist
Answer Posted / vijay
Dim ListCount
ListCount =
Browser("Name").Page("Name").WebList("Name").GetROProperty("items
count")'Count the items in the list
ListCount = ListCount-1 'index value starts from 0
Randomize 'initiate random number
RandomValueList = Int(ListCount * Rnd)' convert
listcount as random number in the RandomValueList variable
Browser("Name").Page("Name").WebList("Name").Select
("#" & RandomValueList) 'Call the RandomValueList variable
appending to index of weblist
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Mention the test steps of qtp.
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
What is system testing and what are the different types of tests you perform in system testing?
What are the differences between quicktest professional (qtp) and winrunner?
how to convert 100 into hundred repees only and viceversa
Explain how qtp identifies objects?
What are the check points can be inserted without recording?
How you can find length of array in qtp?
Hi, how can we check or avoid the memory leakage in QTP9.2?
How do you configure QTP AND Test director?
What are the advantages of a Hybrid framework?
what is the diffrence bw qtp architectute and qtp framework?
What is the quicktest professional (qtp) testing process?