For example one window is there the window contain some of
Check boxes but my question is how many check boxes are
there particular window?

Please solve the problem
gi_raju@rediffmail.com
ippaliraju@yahoo.co.in

Answers were Sorted based on User's Feedback



For example one window is there the window contain some of Check boxes but my question is how many..

Answer / nanda

set objcheckbox = description.create

objcheckbox("class name").value = "WinCheckbox"
objcheckbox("nativeclass").value = "Button"

set get_checkbox = window("XXXX").childobjects(objcheckbox)

count_checkbox = get_checkbox.count

'msgbox count_checkbox

if u want to know the name of each and every checkbox..

for i = 0 to count_checkbox-1

check_name = get_checkbox(i).getROProperty("text")
msgbox check_name

next

If any queries...

nanda.dreddy@gmail.com

Is This Answer Correct ?    4 Yes 0 No

For example one window is there the window contain some of Check boxes but my question is how many..

Answer / testguru

question is not clear.If you can repeat the question with
some more details there might be possible solution for it.

Always be positive.
waiting for the question?

Is This Answer Correct ?    0 Yes 0 No

For example one window is there the window contain some of Check boxes but my question is how many..

Answer / shavali

can u explain this answer little bit clear

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??

1 Answers  


Presently i am working on QTP 8.2 Version,i want to know features in 9.2 version, because i have not sufficient time to put the effort on the 9.2 version

0 Answers  


Hi i want to export the data from applicatioon to excel and later i want to import and use it for my scripts hoe can i do this?

1 Answers  


What is test object model in QTP?

1 Answers   Crea,


Get the count of files of similar types from a folder.

0 Answers   Deloitte,






Hi. plz expalin abouit SetToProperty, SetRoProperty, GetToProperty, GetRoProperty,GetToPrperties. with examples.

6 Answers  


How to creating an output value using quicktest professional (qtp)?

0 Answers  


how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script

2 Answers  


In key word driven framework,we will rename the logical names of objects,why?

3 Answers   Liquid Hub,


what is the general issues faced while using automation tool Qtp9.0

1 Answers   TCS,


How the automated tests in org

1 Answers   Maintec,


Explain hybrid framework with advantages and disadvantages?

0 Answers  


Categories