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
How to change the priorities of the recovery scenario properties?
Can we record using all the modes in a single script? Explanation with example is appreciated
how will you check how many members visited the website www.infosys.com?
How is UFT 11.5 version different from UFT 12.0?
How to open a new test using quicktest professional (qtp)?
When and why to use descriptive programming?
How many tabs are available to view your test in a test pane and what are they?
How does qtp recognize objects in aut?
What is object spy in quicktest professional (qtp)?
what could go wrong with test automation?
whow much strong on VB and C?
What is fragmentation and paging?
when u script reveiwing in which area u more concentrates?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
How to call a test from another test?