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
Answer Posted / 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 |
Post New Answer View All Answers
How did you use regular expressions in QTP and also in WR?
Define object spy ?
How can you handle exceptions in qtp?
what the difference between shared repository and per action repository?
What are the views available in quicktest professional (qtp)?
Explain the differences between table and db checkpoints?
Explain the concept of object repository & how qtp recognizes objects?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
What is keyword driven framework?
What is a data driven test in qtp?
Approach for Installation,comaptibility,system testing
How to delete an object from the object repository?
Sql questions to find second max salary and how to use joins
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com
Explain quicktest professional (qtp) testing process?