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
What is a checkpoint? How many check points are there in qtp?
Explain about the test fusion report of quicktest professional?
What are the ordinal identifiers in web page?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Give the syntax to import/export xls into qtp.
Difference between test object and run time object?
diff between qtp versions from 8.5
How many add-ins comes by default with qtp?
Does quicktest professional is unicode compatible?
What is the extension of the recovery scenario file in qtp?
Can anybody post some real time scenario in qtp? please its very urgent.
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
There is an excel file of 1 to 100 sheets how you will iterate through it?