Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How did you use regular expressions in QTP and also in WR?

2566


Define object spy ?

970


How can you handle exceptions in qtp?

961


what the difference between shared repository and per action repository?

994


What are the views available in quicktest professional (qtp)?

985


Explain the differences between table and db checkpoints?

945


Explain the concept of object repository & how qtp recognizes objects?

1037


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 ?

1940


What is keyword driven framework?

1029


What is a data driven test in qtp?

958


Approach for Installation,comaptibility,system testing

2143


How to delete an object from the object repository?

1038


Sql questions to find second max salary and how to use joins

1465


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

4063


Explain quicktest professional (qtp) testing process?

966