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
Why qtp the best testing tool?
Explain the concept of object repository & how qtp recognizes objects?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
Hi All, How to Compare two strings character by character in QTP
What is the file extension of the code file in qtp?
Output values? i want a practical example
Explain how qtp identifies object?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
What are the challenges you faced during you entire life automation ?
What is quick test pro?
Explain about Test Fusion Report of QTP?
How can I change object description or check point values in qtp?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
What is file database?
How many types of actions are there in quicktest professional (qtp)?