Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do you check ticket cost and ticket number in flight application?

1132


How the smart identification is used in real time?Please explain with an example

2102


Hoe can we do retesting using functions please give the code for it using login page

1983


What is the difference between byref and byval in qtp?

1147


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

1840


Difference between test object and run time object?

1057


How to creating an output value using quicktest professional (qtp)?

1061


Can the user toggle between using Local OR and shared OR for the same action?

1028


Define Canvas view of UFT?

1154


Explain types of output values?

1082


For which type of project the iterative model is suitable?

1831


How to release all resources file from the QTP?

1618


how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

2435


How to use checkpoints in qtp ?

1102


How to remove the associated function library?

1062