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 |
Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?
What is object spy in quicktest professional?
There is a table with 4 columns and 10 rows, how to write the script to display the first column records using qtp? can anybody help me with script?
In how may ways we can use checkpoints to an application using QTP?
hi all QTP recognizing objects as "string_1","string_2","string_3","string_4" like that but when using FOR LOOP for these.QTP not proceeding further can i declare these _1,_2,_3,_4 as a single variable
A webPage has a ComboBox with 10 values in it. Write a script to select 4 vales from it using CTRL key
difference Between Call Run action and copy of action?
Tell me the difference between QTP9.2, QTP9.5 and QTP10.0
how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance
What is meant by Step Generator in Qtp How is it used? pls gimme in detail
Given a string variable contain a full name (last name, first name), using vbscripting, how can you extract first and last name and save them into two different variables.
What are the file extensions for per-action, shared object repository files and what is the extension for library files?