how can you select random value for every iteration from a
weblist
Answer Posted / kishore
Get the count of elements in the weblist
for i = 0 to count-1
result = randomnumber(i,count-1)
browser("xyz").page("xyz").weblist(" ") .select result
next
Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
How to suppress warnings from the test results page?
What is action split and the purpose of using this in qtp?
why text area checkpoints cannot used for web applications
what is the difference between built-i function and In-built function?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
What are the main differences of qtp and win runner?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
What is the new version of qtp which is recently released in the market?
How are actions and functions different in QTP?
How do know the number of browsers opened?
Hi How to retrieve data from web element line by line?
what the difference between shared repository and per action repository?
How to use Environment parameterization? Explain with an example.
desribe a situation where u faced a stressful situation and how did u cope with it
In what occasion we can specify global sheet and action sheet?