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

if you run one test script in internetexplorer the same test you run in mozilla ffirefox is it possible or not how is it.

1 Answers   Satyam,


results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file

1 Answers  


Explain in brief about the quicktest professional (qtp) automation object model?

0 Answers  


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

0 Answers  


What is the extension of 'Log file' in QTP

3 Answers  






How do you convert manual test cases to automated test cases?

0 Answers  


What do you mean by iteration?

0 Answers  


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

0 Answers  


How can the name of a checkpoint be changed in Qtp

2 Answers   Ordain Solutions,


What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


How can i store runtime value through vb script while using qtp

1 Answers  


suppose by navigation i went from 1st page to 5th page write a script for coming from any page to the 1st page abd by executing where the page may be . it will come to 1st page give the code using gmail. give me mail id so that i can under this answer with out any doubt

1 Answers  


Categories