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
Out of the different type of operators, which are evaluated first and last in the vbscript language?
Mention what is vbscript procedures?
What is the scope of a constant declared using public?
What is dictionary object in vbscript? Explain?
How will you get a random number between 0 and 1 in vbscript?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Which data type/types are supported by vbscript language and what are their specialties?
Can automation testing find ssame no. of bugs what we can find by manual testing?
Explain about the extension .hta?
If else for do while select in vb script?
Explain the tristate constants in vbscript?
What is the use of the instr function?
What is the difference between do until loop and do while loop?
How should i Create Email invite with server-side Coding?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.