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

How is a Step generator used in UFT?

0 Answers  


What are the features supported by UFT?

0 Answers  


what are the different kinds of frameworks in automation?

1 Answers   Accenture,


What is Step generator in qtp? wt is the use? can u any body explain me? plz

1 Answers  


how we can know qtp has used smart identification machanism during the execution.

3 Answers   IBM,






I would like to do some certifications in QTP. please suggese what kind of certifications can i do. I am currently put up at chennai. So please suggest some reputed centres where these courses are offered.

1 Answers  


how to load vbs file to qtp through scripting. plz provide the code.....

2 Answers   IBM,


Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take values from action 2 data sheet or vice versa. If so, how?

6 Answers   Oracle, TCS,


what is the test object?

1 Answers  


Hi, I am learning QTP. can someone please tell me a site from where i can learn QTP scripting Thanks in advance

0 Answers  


HOW TO DO THE BATCH TESTING USING QTP?

8 Answers   CTS,


what is use of optionexplicit in variable declaration

5 Answers   GE,


Categories