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
what is clean sweep?
Approach for Installation,comaptibility,system testing
QTP script is not working on other's machine..
What are the different types of recording modes in qtp? Which will be used when?
What is quicktest professional (qtp)?
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
What is the use of text output value in quicktest professional?
how will you check how many members visited the website www.infosys.com?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
How to create scenario selector
I want to do QTP Certification what is the pattern of Question paper.
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
How to capture all the data of a webtable, weblist and combolist using QTP?
Why script error occur in between recording in qtp?
How many types of parameters are available in quicktest professional (qtp)?