Answer Posted / arjuncr
dear raju it is wrong
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)
this one is correct
systemutil.Run"C:\Users\Raju\Desktop\cal.exe"
Set desc =Description.Create
desc("class Name").Value = "Button"
set button=window("regexpwndtitle:=CALCULATOR").ChildObjects
(desc)
msgbox desc.count
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is action split used by qtp?
In qtp, explain what is keyword driven automation framework?
What are the types of object repository in qtp?
Explain QTP using different development techniques ?
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
What is text check point and text area check point?
What is the syntax to call one script from another?
How can I check if a environment variable exist or not?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
If created one virtual object? Next time I changed the window position will it work?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
How is a Step generator used in UFT?
How to use transactions in qtp?
How to run a test using quicktest professional?