I think yuo mean return more than one value from function no to a function ?
You can do it with a class. First define a class, then create an object from this class in your test Here is the example code for class product and function calc which returns an integer and a decimal I hope this will help you class Product public price_intval public price_decimalval … end class function calc() dim f set f = new Product f.price_intval=”95″ f.price_decimalval=”60″ set calc=f end function set result=calc() MsgBox result.price_intval MsgBox result.price_decimalval 2013/1/23, pavani b <[email protected]>: > *how to import excel sheet into datatable without using any datatable > methods?* > > what is param array? > > How to retrieve multiple values using procedure ? > > how to return more than one value to a function > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- Rasim Avcı -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
