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 |
How many types of recording modes in qtp? Which will be used when?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
what is active screen,keyboard view?
Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check
Explain advantages and disadvantages kdf?
anyone can explain Diff B/w Actions and Functions
1. IS A VIRTUAL OBJECT USED WHEN THE LABEL IS NOT RECOGNIZED BY QTP
I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.
How do you change Logical Name of the object in test script?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
what is debugging testing?
How to send QTP test results to an email...(with out using Quality Center)?