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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to change the priorities of the recovery scenario properties?

1230


Can we record using all the modes in a single script? Explanation with example is appreciated

1917


how will you check how many members visited the website www.infosys.com?

1959


How is UFT 11.5 version different from UFT 12.0?

1112


How to open a new test using quicktest professional (qtp)?

1043


When and why to use descriptive programming?

1102


How many tabs are available to view your test in a test pane and what are they?

1124


How does qtp recognize objects in aut?

1087


What is object spy in quicktest professional (qtp)?

1000


what could go wrong with test automation?

2127


whow much strong on VB and C?

2000


What is fragmentation and paging?

2091


when u script reveiwing in which area u more concentrates?

1955


Suggest and Define a solution for an application whose objects are not recognized by UFT?

1138


How to call a test from another test?

1432