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
can test automation improve test effectiveness?
what is the difference between development and testing
when to start the automation?
how to explain a claims and insurance project?
What is the difference between qtp and selenium?
What is checkpoints for quicktest professional?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
Can you brief the hurdles you faced during Automation testing?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
Differences between quicktest professional (qtp) and winrunner?
What are advantages of test automation?
How do I get the QTP scripts result in xml format by using vb script function?
Discuss the QTP Environment?
what is stepin & stepout?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?