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

I want to know how to execute the descriptive programming in qtp for the webedit object which does not contain attached text property. but i have checked it with name and html id property. Even though it is not executing. it is giving error in object's physical description.

2 Answers  


How to analyzing test results using quicktest professional (qtp)?

1 Answers  


A web page has two butons with same properties and rotating in clockwise direction. how to click on any of the button?

2 Answers   Virtusa,


What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.

1 Answers  


For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............

3 Answers   Satyam,


where is the bitmap checkpoint be saved

3 Answers  


How do we retrieve the content from a text box in a web page

2 Answers  


According to use, how virtual object is different from object spy? If Qtp is not learning a sub-menues. What should we done? how would we manage on the expert view too? alkaa.dugaal@gmail.com

1 Answers   HCL,


how do check the links in a webpage ?

7 Answers   Accenture, Wipro,


Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.

0 Answers  


Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan

1 Answers  


What is the difference between call to existing action and copy of an action?

1 Answers  


Categories