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 / ram
Dim a, b, c
a = inputbox("enter the a ")
b = inputbox("enter the b ")
c = a + b
msgbox(&c)
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What is test object model in quicktest professional (qtp)?
What is the keyword view and expert view in qtp?
We stored into the objects OR and then write the scripting
Which environments are supported by hp qtp?
What is the pros and cons between QTP and Rational Robot
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
If I change the object name in one action will it be updated in all the actions? Or not?
To which environments does quicktest professional supports?
How to capture all the data of a webtable, weblist and combolist using QTP?
Where to use function or action?
How will internal and external links be validated and updated? how often?
How to add synchronisation points in qtp?
Can you write a script to check if the folder exists or not?
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
How does you test a weblink which is changing dynamically?