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...


I used Child objects to get the count of the no of weblist
present in the page.now i need to select the item in the
weblist..Please send me full code



I used Child objects to get the count of the no of weblist present in the page.now i need to selec..

Answer / udham singh

set c = description.create
c(micclass).value = "Weblist"
set d = browser().page().childobjects(c)
msgbox d.count 'will give the number of lists on the page

for i = 0 to d.count - 1

d(i).select "1" 'u can give any value in double quotes

next

Note : this code will work on all the liste present on the
webpage.
Also if u want to perform select operation only on selected
weblists thats also possible

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

How many types of recording modes in qtp? Which will be used when?

0 Answers  


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

0 Answers   Ordain Solutions,


what is active screen,keyboard view?

2 Answers   BirlaSoft,


Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check

1 Answers   CTS,


Explain advantages and disadvantages kdf?

0 Answers  


anyone can explain Diff B/w Actions and Functions

2 Answers  


1. IS A VIRTUAL OBJECT USED WHEN THE LABEL IS NOT RECOGNIZED BY QTP

7 Answers   Ordain Solutions,


I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.

5 Answers  


How do you change Logical Name of the object in test script?

1 Answers   TCS,


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

0 Answers   Wipro,


what is debugging testing?

5 Answers  


How to send QTP test results to an email...(with out using Quality Center)?

11 Answers  


Categories