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 built-i function and In-built function?
What is CMMP and CMMH?
what is the difference between IE & Netscape in web testing on a log in page
How often were they executed?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What is the meaning Work bench?
Generic function to search for the unique link in webtable and click on it
Can you write a script to check if the folder exists or not?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Explain the use of action split in qtp?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
Explain how Does Run time data (Parameterization) is handled in QTP?
How to use reporter.report event in qtp ?
What are the different types of checkpoints?