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
If I change the object name in one action will it be updated in all the actions? Or not?
Is virtual object supported in low level recording mode?
How to use conditional loops in qtp ?
what type of run time errors you get while you ar edoing rpg program?
How will you declare a variable in qtp?
Why qtp the best testing tool?
can test automation improve test effectiveness?
What are the different kinds of test steps?
What is data driver in qtp?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
Define Environment Variable in UFT and its uses?
Brief the process of testing with UFT?