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 / praveen
Dim a, b, c
a =3
b =2
c = a + b
msgbox c
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to use debug tools?
What is throw Object?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
What is the pros and cons between QTP and Rational Robot
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
How can I change object description or check point values in qtp?
Explain data driven framework?
What is synchronization? What are the ways you can synchronize?
What are the main differences of qtp and win runner?
What are the properties you would use for identifying a browser and page when using descriptive programming?
write a script to verify the image path(src property) of the images which are in web pages.
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
How many types of recording modes in qtp? Describe each type with an example where we use them?
What are the ways you can synchronize?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?