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
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How to use transactions in qtp?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How would you directly trigger javascript in a test?
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 you are developing the script? Using record and play back or manual?
What are the major/ important methods, functions in QTP we use realtime testing
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
Can any body please tell me the steps of keyword driven framework of QTP.
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?
Can we run test with out adding object in object repository? How it is possible?
What is the difference between run time object and test object?