01-06-2015, 04:15 PM
(This post was last modified: 01-06-2015, 04:57 PM by kathirvelnagaraj.)
In my Script, I have test data with Testcase name and test script is created as function and the function name is Testcase name(Seperate script for each test case).
Library function is associated with my main script and During the runtime read the test data and call test script(Testcase name and function name are same) and also passing the parameters while calling..the problem is not able to call the function
===main Script===
Please Help me to resolve the issue.....
And one more information able to call without parameters by the bellow code
Also, please guide me call the function with parameter's..
Please Give your idea to pass the parameter...
Library function is associated with my main script and During the runtime read the test data and call test script(Testcase name and function name are same) and also passing the parameters while calling..the problem is not able to call the function
===main Script===
Code:
sTID=Lsht.cells(2,1)
sFileName=Lsht.cells(2,2)
sFilepath=Lsht.cells(2,3)
sResult =sTID(sFileName,sFilepath) //calling the function
Please Help me to resolve the issue.....
And one more information able to call without parameters by the bellow code
Code:
myfun=sTID
Result = Eval(myfun)
Also, please guide me call the function with parameter's..
Please Give your idea to pass the parameter...