Forum Discussion
rndasa
Occasional Contributor
ACTUAL CALLING ROUTINE:
function tester(){ tcInfo =[0,0,"TC333_VERIFY","TC_EXPT","TC_ACTUAL","NULL"] tcData =[0,0,"TC333","ABC"] verificationManager(tcInfo,tcData) }
IMPLEMENTATION CLASSES
function verificationManager(tcInfo,tcData) { try { var ResultParam = Runner.CallMethod(_impl_verificationManager,tcInfo,tcData); } catch (e) { Log.Error("Error occured while executing 'verificationManager' and error description is:" + e.description); } finally { Log.Message(ResultParam+"--------------"+ tcInfo[3]+"--------------"+ tcInfo[4]+"--------------"+ tcInfo[5]); } } function _impl_verificationManager(tcInfo,tcData ){ var C = eval(tcInfo[3]+ "(" + tcData + ")" ) return C } function TC333_VERIFY(K){ Log.Message(K) return 1 }
baxatob
7 years agoCommunity Hero
You are missing parentheses while calling _impl_verificationManager() function:
var ResultParam = Runner.CallMethod(_impl_verificationManager(),tcInfo,tcData);
Related Content
- 4 years ago
- 8 years ago
Recent Discussions
- 12 hours ago
- 7 days ago
- 10 days ago