how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / ashok
DIM A
A=INPUTBOX("enter a val")
DIM B
B=INPUTBOX("enter b val")
DIM C
DIM D
C=A+B
MSGBOX ("C is" &C)
C=INT (A)+INT (B)
MSGBOX ("C is" &C)
D=A*B
MSGBOX ("d is" &d)
| Is This Answer Correct ? | 16 Yes | 11 No |
Post New Answer View All Answers
Explain about the asc function?
What are the properties of regexp object?
Which operator can be used to check if two numbers are equal or not in vbscript?
How can you create an object in vbscript?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
Mention the rules for using option explicit statement?
Explain about constants in vb script?
How will you check that a variable is an array in vbscript?
how to acces the remote mechine using vb cript(QTP)
What is the difference between VBScript and JavaScript?
How will you get a combined string from array of string in vbscript?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
Explain different types of segment?
how to increase the values in text box in a given text box increament by two values by clicking on button
Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...