How can i count the list box elements in QTP ?using script
plz explain me (Chandana)
Answer Posted / sri satya
Hi
You can use this:
Count =Browser("title:abc").Page("title:abc").WebList
("name:=xyz").GetROProperty("items count")
msgbox Count
| Is This Answer Correct ? | 14 Yes | 6 No |
Post New Answer View All Answers
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
What is object spy in quicktest professional (qtp)?
How will internal and external links be validated and updated? how often?
How many scripts did you have?
Explain in brief about the quicktest professional automation object model?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
what are the mandatory properties for a tex boxc (scenario?)
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What are the different recording modes?
banking project description for software tester
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
What is regular expression?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
What is the difference between qtp and selenium?
what is the difference between data driver & data driven and driver script?