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
Why script error occur in between recording in qtp?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Did QTP prove efficient for your project? Yes or No, explain?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
how to create flat file datasubmission in qtp
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
Where we can use the synchronization?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
What are the differences between table and db checkpoints?
What is expert view in qtp?
What is qtp window?