Forum Discussion
AlexKaras
14 years agoChampion Level 3
Hi Lawrence,
Have a look at the native VBScript's Eval() function.
The code (untested mockup) may be like this
Function RunKWTest(ByVal strTestName)
' will not work if keyword test returns an object
' code must be enchanced if parameters support for keyword test is needed
RunKWTest = Eval("KeywordTests." & strTestName & ".Run")
End Function
Have a look at the native VBScript's Eval() function.
The code (untested mockup) may be like this
Function RunKWTest(ByVal strTestName)
' will not work if keyword test returns an object
' code must be enchanced if parameters support for keyword test is needed
RunKWTest = Eval("KeywordTests." & strTestName & ".Run")
End Function
Related Content
- 11 years agojose_pita
- 4 years agojohndorazio
Recent Discussions
- 33 minutes agoSvetaG