hi,
i was adding the two numbers in qtp scripts but i didn't get
the answer. see my below script, i dont know wht is the problem.
i passed the value a=3 b= 2, i got the ans 32 instead of 5.
i thing the problem is to be c = a+b
my mail id karthis4u@gmail.com
Dim a, b, c
a = inputbox("enter the a ")
b = inputbox("enter the b ")
c = a + b
print c
Answer Posted / rayudu
a= inputbox("Enter the value a")
b=inputbox("Enter the value b")
c=int(a)+int(b)
msgbox c
Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What are the benefits of qtp?
How do you convert manual test cases to automated test cases?
How do client side image and server side image work?
Should have experience in framework means?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
Describe how Smart Identification is used
How to use Environment parameterization? Explain with an example.
How to check feasibility of the appliction?in automation testing?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
What are some test assets and related extensions of qtp?
What is QTP testing process?
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?
How to break the object spy ?
what frame work you are following?