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
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
what type of run time errors you get while you ar edoing rpg program?
write the vb script for call to new action in qtp?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
The hybrid framework can be implemented for any application. Is it true?
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
In qtp, how you can exit for loop?
In qtp, how you can get the last character from a string?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
How to build scripts that access data from external sources?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Explain the concept of how quicktest professional identifies object?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
How to handle dynamic objects in quicktest professional (qtp)?
How many ways we can parameterize data in quicktest professional?