Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parameterizing Function arguments
#1
Not Solved
I read the below line in qtp help.
"
You cannot use the Data Driver to parameterize the values of arguments for
user-defined methods or VBScript functions.
"


Now what exactly it means? i created a function like below and used datatable method to pass values from global sheet successfully !

Code:
Function f(param)
msgbox param
End Function

Call f(datatable("col1",dtglobal))
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 5,891 06-26-2015, 12:31 AM
Last Post: babu123
  Descriptive Programming By giving the description in form of the string arguments sia sharma 6 4,854 09-12-2012, 08:57 PM
Last Post: freeboynil
  Error message 'Invalid Arguments ' sandeephc 3 4,014 06-26-2012, 11:34 AM
Last Post: Ankesh
  Wrong number of arguments or invalid property assignment qtpro_exe 0 6,284 11-22-2011, 07:48 AM
Last Post: qtpro_exe
  Parameterizing a part of script itsnotmyid 3 3,288 08-09-2011, 09:02 AM
Last Post: parminderdhiman84

Forum Jump:


Users browsing this thread: 1 Guest(s)