how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / pravati
Call sum(x,y)
Function sum(x,y)
x=cint(inputbox ("enter a no"))
y=cint(inputbox ("enter a no"))
z=inputbox("enter the value")
Select Case z
Case "+" msgbox x+y
Case "-" msgbox x-y
End Select
End Function
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is event handling in vbscript?
What is loose binding? Why is it not a good practice to use it?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Can u describe what kind of testing are for OTC derivates by banks.
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
How will you get the smallest subscript of an array in vbscript?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
Which operator can be used to change the value of the operand or change the state of the condition?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
What is the technology used by vb script?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
How can constants be declared in the vbscript language?
Mention what is byref and byval parameters in vbscript?
How are arrays declared in the vbscript language?