Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to return multiple values from QTP User defined function
#8
Solved: 11 Years, 3 Months, 3 Weeks ago
Sorry ignore the prevoius one

Code:
'Call to the function
Arr=Mytest
msgbox Arr(0)


' Function Defination
Public function Mytest()
   Mytest=Array(1,2,3,4)
End Function


if Array is passed byRef the no need to declare globale variables

Thanks
~Nilesh
Reply


Messages In This Thread
RE: How to return multiple values from QTP User defined function - by nil - 12-04-2009, 05:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP/UFT - Storing Multiple Arrays In An Array Eitel13 0 1,794 07-17-2018, 04:37 PM
Last Post: Eitel13
  UFT 12.02 Compatibility for IE 11.0 : Fail to identify the defined Object Amruta_121 9 11,156 01-11-2016, 12:45 PM
Last Post: vinod123
  Childobject return wrong checkbox count.. VpnQTP 1 2,845 04-09-2015, 09:07 PM
Last Post: babu123
  Calling a Function in Function Library when function is defined in an Action jitenderkkr 0 2,965 11-27-2014, 12:53 PM
Last Post: jitenderkkr
  Does QTP supports to open same application multiple times!!!!! pkiran169 1 2,953 08-07-2013, 01:09 PM
Last Post: anil2u

Forum Jump:


Users browsing this thread: 2 Guest(s)