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
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
What is the difference between byref and byval in qtp?
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?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
What is a programmatic description?
Have you used xml check point in your project? How?
Describe how Smart Identification is used
What is method name to compare two XML files.
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
What are metrics and matrix?
How you create new action in qtp?
How to open a new test using quicktest professional?
What is fragmentation and paging?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
What is the use of running the scripts in Hidden-mode in UFT?