how to get the object count ?????????

Answer Posted / pvr

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 ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is contained in the object repository?

701


Do you know how to connect database? Can you tell me the procedures?

621


unique properties of button,edit box, radio button,check box?

3963


What are the types of object repositories? Which one is you using?

720


Your roles and responsibilities and daily tasks? (As automation tester)

2680






When to use descriptive programming?

678


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

1985


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

1711


How many types of recording facility are available in quicktest professional (qtp)?

698


what is the advantages and disadvantages of using functions instead of re usable actions

1518


after click on compose mail how can we attached a file in qtp with vbscript code

1725


What is data driver in qtp? Where we use it?

658


HOw to add the recovery file at runtime to the test file .

1637


how to find that tools work well with ur existing system?

1465


There is an excel file of 1 to 100 sheets how you will iterate through it?

627