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 use of text output value in quicktest professional?

487


Give me some real time point of way where exactly we can conduct audits?

1470


Can we create a qtp test from qc?

561


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

537


What is Associate Repository in QTP 9.2 ?

579






Explain types of descriptive programming?

565


How will you handle java tree in qtp?

602


How to modify object property in qtp ?

539


What are some test assets and related extensions of qtp?

520


In qtp, how you can use xpath to identify objects?

586


Explain quicktest professional (qtp) testing process?

514


Explain the types of object repositorys in qtp?

549


Which environments does qtp support?

648


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1315


descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

1784