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
Are Shared ORs read-only?
What is reusable action?
What is a programmatic description?
What is the new version of qtp which is recently released in the market?
What are the views available in quicktest professional?
How to save your test using quicktest professional (qtp)?
what could go wrong with test automation?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
Is it possible to call from one action to another action in qtp?
Describe how Smart Identification is used
What are the different attribute used with regular expression?