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
which type of testing process are you following in ur company? how to recognize a qtp page?
What is Curd testing?
What is test object model in quicktest professional (qtp)?
what are the utilities and drivers
Give the syntax to import/export xls into qtp.
How many types of actions are there in quicktest professional?
How many ways is to parameterize the value?
how can we do the frame work in qtp
What is the use of sendkeys and what are send keys
How you can write contexts to text file in qtp?
What is Port testing. Whhen will you perform?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
What is Unicode Compatibility?
How to get the particular property value?