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
What is Port testing. Whhen will you perform?
What is the basic concept of quicktest professional?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
How to start recording using quicktest professional (qtp)?
Explain the checkpoint in qtp?
What are the challenges u faced in testing with crm domain? How u overcome with?
What is the difference between run time object and test object?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
How to record application running on the Virtual machine?
Your roles and responsibilities and daily tasks? (As automation tester)
In qtp, how you can exit for loop?
What is checkpoint in qtp?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework