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
Is the qtp course will help to create a virtual object?
Can I change properties of a test object?
What is the use of text output value in quicktest professional (qtp)?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
wht type of User defined functions or Java Releated functions Do we write in VB scripting
How does you test a weblink which is changing dynamically?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
how to download mercury qtp9.2 ny internet ?
how to explain a claims and insurance project?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
how to evalute defects in QTP script?
How will you find the current time of the remote machine using QTP script?
explain how to write vb script in qtp?when will you write own script?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage