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...

How will u find that how many List boxes( and check boxes)
are present in one particular window

Answer Posted / nanda

Hi,

try this code...


set odesc = discription.create

odesc("Class Name").value ="WinCheckBox"
odesc("native class").value="Button"

set checkboxcount= window("<window name>").childobjects
(odesc)

counts=checkboxcount.count

msgbox counts

u will get number in msgbox.

please ping me if there is any feedback.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

wt is the use of multiple questions in QTP

2108


What test you perform mostly? Regression or retesting in your testing process?

992


How to use debug tools?

2669


Explain the new feature of UFT regarding the export of test results?

989


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1980


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

1863


What are the key points to create a framework in QTP for oracle forms?

2227


How you can delete excel file in qtp?

1033


Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

2383


please any one can explain the keyword driven framework. with gmail example.

2060


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1819


How to capture all the data of a webtable, weblist and combolist using QTP?

3300


How many types of recording modes in qtp? Which will be used when?

939


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1835


What is CMMP and CMMH?

1126