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 key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?

1546


Explain the features of quick test pro(qtp)?

569


Can we run multiple QTP scripts one after the other without manual intervention? How?

590


What is an object repository?

599


Dis advantages of XML checkpoint ?

1573






In qtp is it possible to check broken links of a page?

576


In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

1442


Can U Explain about QTP tool from older version to latest version also its differences?

1512


They asked by using qtp recording writing scripting

2066


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1542


Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?

1225


Can you list some technologies that support qtp?

548


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

2137


What are the features and benefits of quick test pro (qtp 8.0)?

593


what is the difference between modular framework & datadriven framework

1589