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 the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

1118


What is the difference between byref and byval in qtp?

1147


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

2081


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

1137


What is a programmatic description?

1165


Have you used xml check point in your project? How?

1053


Describe how Smart Identification is used

2301


What is method name to compare two XML files.

2030


Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?

1083


What are metrics and matrix?

1849


How you create new action in qtp?

1197


How to open a new test using quicktest professional?

1082


What is fragmentation and paging?

2091


In an interview, what r the general questions asked in QTP? pls give me anwser to this question?

1928


What is the use of running the scripts in Hidden-mode in UFT?

1267