Not able to call the function - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Not able to call the function (/Thread-Not-able-to-call-the-function) |
Not able to call the function - kathirvelnagaraj - 01-06-2015 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=== Code: sTID=Lsht.cells(2,1) Please Help me to resolve the issue..... And one more information able to call without parameters by the bellow code Code: myfun=sTID Also, please guide me call the function with parameter's.. Please Give your idea to pass the parameter... RE: Not able to call the function - kathirvelnagaraj - 01-06-2015 Hi guys this issue getting resolved by following code.. Code: myfun=sTID&"(sFileName,sFilepath)" |