How will u find that how many List boxes( and check boxes)
are present in one particular window

Answer Posted / ramya

'Counting total number of lists

Set Odesc= Description.Create
Odesc("htmltag").value= Input
Set linkcollection= Browser("").page("").childobjects(Odesc)
Itemcount=linkcollection.count()
msgbox Itemcount

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is test case write?

776


How to release all resources file from the QTP?

1267


what is description object?

1810


How may types of defects identify application or your currently working application?pls give me answer..

1730


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1669


How to run a test using quicktest professional?

725


What is test object model in quicktest professional (qtp)?

759


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1555


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1700


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1533


whow much strong on VB and C?

1684


what is defenetion of kiran can u tell me plz CVS, SVN

1781


Explain quicktest professional testing process?

734


what is the difference btn risks & Therads in the Test plan documentation?

1857


What are the different types of recording modes in qtp? Which will be used when?

796