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


Please Help Members By Posting Answers For Below Questions

What Folder Structure following in Keyword Driven Frame work?

2280


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1528


Is it possible to change the property value at runtime? How it is possible?

575


how to download mercury qtp9.2 ny internet ?

2959


What are the challenges u faced in testing with crm domain? How u overcome with?

1483






Both static and dynamic arrays are handled by the vb script. Is it true?

557


How to integrate the qualitycenter with qtp

1769


Discuss the QTP Environment?

622


What are the differences between table and db checkpoints?

532


I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.

3565


Explain advantages and disadvantages of ddf?

595


What is method name to compare two XML files.

1531


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1504


How can you exit from an action?

610


how can we compare descriptive programing with a regular expression

1922