I have below user Defained function
function AddTwo(ByVal a, ByVal b)
Dim Ans
Ans=a+b
MsgBox Ans
End function
Now my question comes here...from given below methods which
method is right to call above function?Which is Wrong and why?
1. AddTwo(2,4)
2. Call AddTwo(2,4)
3. AddTwo 2,4
4. Call AddTwo 2,4
Answer Posted / sisira
Call AddTwo(2,4)
AddTwo 2,4
these two ans are true
Thanks
sisira
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the ordinal identifiers in web page?
How to handle dynamic objects in quicktest professional (qtp)?
What is the difference between qtp and selenium?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
How the exception handling can be done using quicktest professional?
Can U Explain about QTP tool from older version to latest version also its differences?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
Both static and dynamic arrays are handled by the vb script. Is it true?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
how do i know how to use tools
Through array we can execute the testcase how ? give me example
What is the new version of qtp which is recently released in the market?
Define Canvas view of UFT?