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
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
Define virtual object?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
what is error and fault in terms of software quality?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
How to carry out bit map check points in QTP
What is the syntax for how to call one script from another?
What is the standard timing delay for web based application in qtp?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
How you debug your script?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?