can a Function return more than one value..??? if so please
give me the code for that.
Answer Posted / nath t
Function doesn't return more than one value.
if you want to get more than one result, we can write
function for that. After u will get the value u have to
split the value.
Example:
Function AddSub(a, b)
som = a + b
subt = a - b
AddSub = som&"/"&subt
End Function
this function returns only one value. But it's having two
results(i.e Addition and subtraction of two no.s).
After u will get this value. u have to split that one for
two results by using split function here delimeter is "/".
like this we can add more than one result to the return
variable(in this example AddSub is the return variable).
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
How to attach a file to TD?
Hoe can we do retesting using functions please give the code for it using login page
How did you use regular expressions in QTP and also in WR?
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
What is the diff between image and bitmap check point?
Your roles and responsibilities and daily tasks? (As automation tester)
What is quicktest professional window?
What are advantages of test automation?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
What are the advantages of qtp?
What is throw object?
How many types of recording facility are available in quicktest professional (qtp)?
What is the latest version of qtp?
How to check feasibility of the appliction?in automation testing?
can anyone tell me from where i can download qtp demo or crack version