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...


How can i count the list box elements in QTP ?using script
plz explain me (Chandana)

Answer Posted / nani

The Following script displays the number of items in the
list box.

intFieldItemsCnt =CInt(GetProperty(Browser
("Browsername").Page("Pagename").Weblist
("weblistname"),"items count"))

msgbox intFieldItemsCnt

Any doughts feel free to make a mail to: nani4urs@gmail.com

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is keyword driven testing in qtp?n how is it useful?

1940


Hi, how can we check or avoid the memory leakage in QTP9.2?

2100


How many number of actions possible in qtp?

1060


How do you create new test sets in td?

1078


write a script to verify the image path(src property) of the images which are in web pages.

2236


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

2153


How many types of recording modes in qtp? Describe each type with an example where we use them?

1054


How to use setroproperty?

1044


Where we use data driver in qtp?

1073


How to use actions in qtp ?

1064


How many types of parameters are there?

1006


Explain the check points in quicktest professional?

1035


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1941


Explain advantages and disadvantages of ddf?

1086


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

2105