How can i count the list box elements in QTP ?using script
plz explain me (Chandana)
Answer Posted / pbre
hi you can try this one
browser("SCP").Page("SCP").WebList("ctl00$WebPartManager1
$ResultSu").Click
a = browser("SCP").Page("SCP").WebList("ctl00
$WebPartManager1$ResultSu").GetROProperty("items count")
msgbox a
For i=1 to a
c =browser("SCP").Page("SCP").WebList("ctl00$WebPartManager1
$ResultSu").GetItem(i)
reporter.ReportEvent micPass,c,c
Next
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
what is review
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
What is the XML file architecture ?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
How to check bitmap output value?
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
Differences between quicktest professional (qtp) and winrunner?
Why we load add-ins in qtp?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
How can you handle exceptions in qtp?
What is the difference between run time object and test object in QTP?
If created one virtual object? Next time I changed the window position will it work?
How you can decide which type of object repository you have to use?
How QTP support all types of applications (platforms)?