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 is qtpro? What is quick test pro? What is a quick test professional?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
how to create flat file datasubmission in qtp
How to remove the associated function library?
What is QTP and the use of QTP in TD?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
What is the extension of the qtp local repository?
How to get the particular property value?
What is Unicode Compatibility?
Explain the features and benefits of quick test pro(qtp)?
How do you convert manual test cases to automated test cases?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
Explain the differences between table and db checkpoints?
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks