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

By using QTP can we record any log files written by the application which is in execution?

0 Answers   Ordain Solutions,


What is post recovery scenario?

0 Answers  


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

0 Answers   TCS,


Under what conditions would you recommend QTP for future projects?

1 Answers  


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

0 Answers  


difference between waitProperty & Checkproperty

4 Answers   AON,


Syntax for how to call one script from another? and Syntax to call one "Action" in another?

2 Answers  


How can i open a file in Textpad and replace a string with another using QTP

1 Answers   Wipro,


After running scripts how you report results ,there is any specific report form

1 Answers  


What is Curd testing?

0 Answers   Wipro,


Explain data driven framework?

0 Answers  


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

0 Answers  


Categories