I have a list box which contains duplicate values e.g.
A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list
box .
Scenario #1 : I have to check whether any values are there?
Scenario #2 : If duplicate values are there,then how many
time it is getting duplicated?
Svenario #3 : how can I test presence of items in list box
ommiting duplicate values?
Answer Posted / m.ganesh
ItemsCount=Browser("creationtime:=0").page("title:=.*").WebList("name:=lccp_src_stncode").GetROProperty("items
count")
print "items count"& ItemsCount
if (ItemsCount)<>0 then
print "this is Items Count"&ItemsCount
End If
-Ganesh
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the types of object repositories? Which one is you are using?
Explain the differences between table and db checkpoints?
How does qtp recognize objects in aut?
if our qtp vb Script may be Currepted then What we want do?
What are the different types of checkpoints?
What is the difference between rational rose and QTP?
How many types of status are there?
Explain the types of object repositorys in qtp?
What is accessibility check point?
What is the Difference between test object and run time object?
can u please explain what is the exact difference between qtp8.2 and 9.0
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
what is the latest version of QTP? Main difference between 9.2 and 10 version
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com