How will u find that how many List boxes( and check boxes)
are present in one particular window
Answer Posted / nanda
Hi,
try this code...
set odesc = discription.create
odesc("Class Name").value ="WinCheckBox"
odesc("native class").value="Button"
set checkboxcount= window("<window name>").childobjects
(odesc)
counts=checkboxcount.count
msgbox counts
u will get number in msgbox.
please ping me if there is any feedback.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
They asked by using qtp recording writing scripting
How you calling actions in qtp?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
Whether qtp 9.0 supports Test director8.0
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
How many types of recording modes in qtp? Describe each type with an example where we use them?
what is the difference btn risks & Therads in the Test plan documentation?
How to create a standard checkpoint ?
How to use setroproperty?
How do you synchronization point through DP?
how can i call function (which has link with excell sheet at a remote location) within another function
Explain the check points in quicktest professional (qtp)?
How we can import data from database?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?