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 / sayani sur

Ganesh thanks for the answer but please provide clarification for below....

1. Can I use childobject.AllItem in place of getROProperty(items Count)?

2 . as u told i have to store all weblist items into an array..will u please tell me how can i insert these values/weblist items into an array...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

1747


can i compare two databases using QTP ?

1886


What is qtpro? What is a quick test professional?

587


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1448


What are the differences between table and db checkpoints?

537






How to test results for qtp ?

789


what frame work you are following?

1530


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1864


Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT

2059


What are the different types of recording modes?

542


How to create a standard checkpoint ?

561


what is clean sweep?

1889


To which environments does quicktest professional (qtp) supports?

593


What is the extension of the recovery scenario file in qtp?

548


How to test login module with different username and password by using data driven testing in QTP?

614