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
How to add actions in driver script to run those actions in QTP?
How will you convert a string to lower case string using vbscript?
Mention what is vbscript?
why do u choose to go for testing why cant for devoloping
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
How to assign a numeric value to a variable?
What is the difference between javascript and vbscript?
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
What are the uses of vb script?
Explain the filter expression?
What are the environments supported by vbscript language?
Explain some uses of vb script?
How to pass argument by reference to a function in vbscript?
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?