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

Explain actions in qtp ?

915


What is difference between shared and local object repository?

1062


What is action? How many types of actions are there in qtp?

1040


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

1403


Differences between text and test area checkpoints?

1033


Explain object spy in qtp.

1009


In qtp, how you can remove the spaces from string?

917


what is object and child object.. explain ..if possible give some example for better understanding ..

1933


What is test object?

1081


How can I change object description or check point values in qtp?

961


what is the difference between development and testing

3544


How many types of Automation frameworks are there in UFT? Describe them.

967


Explain how Does Run time data (Parameterization) is handled in QTP?

969


How many types of recording modes in qtp?

990


Get the count of files of similar types from a folder.

1417