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

Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?

1 Answers  


What is object spy in quicktest professional?

0 Answers  


There is a table with 4 columns and 10 rows, how to write the script to display the first column records using qtp? can anybody help me with script?

6 Answers   Oracle,


In how may ways we can use checkpoints to an application using QTP?

3 Answers  


hi all QTP recognizing objects as "string_1","string_2","string_3","string_4" like that but when using FOR LOOP for these.QTP not proceeding further can i declare these _1,_2,_3,_4 as a single variable

4 Answers   Livetek,


A webPage has a ComboBox with 10 values in it. Write a script to select 4 vales from it using CTRL key

3 Answers   Virtusa,


difference Between Call Run action and copy of action?

3 Answers   Quest,


Tell me the difference between QTP9.2, QTP9.5 and QTP10.0

1 Answers   Genpact, HSBC,


how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance

1 Answers  


What is meant by Step Generator in Qtp How is it used? pls gimme in detail

7 Answers   AppLabs,


Given a string variable contain a full name (last name, first name), using vbscripting, how can you extract first and last name and save them into two different variables.

2 Answers   Banking,


What are the file extensions for per-action, shared object repository files and what is the extension for library files?

4 Answers  


Categories