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
What is the difference between local and shared object repository in qtp?
How to Test the mainframe application?
what could go wrong with test automation?
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
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?
How to export quicktest professional (qtp) results to an .xls file?
Why bpt?
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
Output values? i want a practical example
Discuss quicktest professional (qtp) environment?
What is the basic concept of qtp?
How many add-ins comes by default with quicktest professional (qtp)?
How will you handle java tree in qtp?
hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u