can a Function return more than one value..??? if so please
give me the code for that.

Answer Posted / bantanahal haribabu

function exmp(a,b)
dim myarray(2)
myarray(0)=a+b
myarray(1)=a*b
exmp=myarray
end function
val=exmp(2,3)
msgbox isarray(val)
for i=o to ubound(val)
msgbox val(i)
next

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create a qtp test from qc?

588


Explain measuring transaction.

586


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1461


Explain quicktest professional testing process?

564


what is supply chain management?

2090






in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1522


i can done the project with QTP in that time i can say how many members in my team size?

1370


Difference between test object and run time object?

592


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1526


What test you perform mostly? Regression or retesting in your testing process?

574


Why qtp the best testing tool?

565


What is the differences between image check point and bit map check point?

581


Where we use data driver in qtp?

611


What is the parameterization? Give one example?

594


How to use actions in qtp ?

589