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 many types of Automation frameworks are there in UFT? Describe them.
Why qtp the best testing tool?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How to recognise the webelement and verifying that webelement is enabled?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
By using QTP can we record any log files written by the application which is in execution?
Which functionalities of QTP used in banking project?
Hi,All How to create a link in excel sheet using qtp
How to creating an output value using quicktest professional (qtp)?
What is the syntax for how to call one script from another?
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
How can I check if a environment variable exist or not?
What is reusable action?
What is the difference between analog and low level recording?