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 to get the object count ?????????

Answer Posted / prasad.dasagrandhi

iam using QTP 9.2

in a cal appli i have add,sub,mul,div buttons to get the
count i have written this script

but it is showing count is o, can anybody help me


systemutil.Run"C:\Users\Raju\Desktop\cal.exe"
Set desc =Description.Create()
desc("micclass").Value = "Button"
set button=vbwindow("vbname:=CALCULATOR").vbbutton
("vbname:=ADD").ChildObjects(desc)
a= button.count
msgbox (a)

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between the modular framework and datadriven frame work

2400


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

937


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

4443


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

976


how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2806


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1695


Explain the check points in quicktest professional (qtp)?

983


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

2057


What are the types of object repository in qtp?

974


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

2488


On what document base Descriptive programming is written if build is not yet ready ?

1350


What is expert view and keyword view?

1059


What is the difference between the design-time and run-time data tables?

1069


How the exception handling can be done using quicktest professional?

951


Explain QTP using different development techniques ?

863