Forum Discussion
AlexKaras
15 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 ago
- 5 years ago
Recent Discussions
- 3 hours ago
- 10 hours ago
Working with Visual Test
Solved2 days ago