Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

In qtp, explain what is qrs file?

1003


I want to do QTP Certification what is the pattern of Question paper.

2111


how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!

2116


How you will rate urself in QTP in the range of 0 to 5

2151


Shall we add Local Repository to shared object repository,if yes,how we add

7321


Can we create user defined functions in qtp?

954


How will you check a web application for broken links using qtp?

968


How you can delete excel file in qtp?

1022


How will you compare keyword and expert view?

885


How to find operating system information using the qtp script?

1013


Explain the concept of how quicktest professional (qtp) identifies object?

952


How can you send user defined messages to test report?

991


What is a Patch in QTP?

983


How to find array size in qtp?

948


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2359