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
Are Shared ORs read-only?
How you know that a test case is a regression test case
What is the quicktest professional testing process?
What is the difference between run time object and test object in QTP?
What is quicktest professional?
How to get popup error message.
Explain quicktest professional testing process?
what is object and child object.. explain ..if possible give some example for better understanding ..
How many tabs are available in debug viewer pane?
How do you synchronization point through DP?
What is the quicktest professional (qtp) testing process?
how u will evaluate the tool for test automation?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
how interviews will be on QTP?
How can you pass value one action to another action?