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 / qa
hi
Use CINT Function:: correct code is
Dim a, b, c
a =cint( inputbox("enter the a "))
b =cint( inputbox("enter the b "))
c = a + b
msgbox c
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
How can i initiate the objects to find uniquely in OR
What is the use of text output value in quicktest professional?
How you can delete excel file in qtp?
How to handle dynamic objects in quicktest professional?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
please any one can explain the keyword driven framework. with gmail example.
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
How will you check that your test cases covered all the requirements?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
Explain different types of checkpoints?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
what is profile tool?
what is test scheduleling?