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 / 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 |
if you run one test script in internetexplorer the same test you run in mozilla ffirefox is it possible or not how is it.
results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file
Explain in brief about the quicktest professional (qtp) automation object model?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
What is the extension of 'Log file' in QTP
How do you convert manual test cases to automated test cases?
What do you mean by iteration?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
How can the name of a checkpoint be changed in Qtp
What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...
How can i store runtime value through vb script while using qtp
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