To use it -
Dim test as New KeywordDriver("c:\test.txt")
test.start
Of course you could loop through and execute for a whole folder of keyword test files

Within the text file you specify like so -
moduleOrClassName.methodName, param1,param2,param3 etc
You can also leave blank lines and you can use // for comments.
The code is as below -
Imports System.IO Imports System Public Class KeywordDriver Dim keywords as String() Public Sub New(keywordFile As String) If file.Exists(keywordFile) Then parseKeywords(keywordFile) Else Exit Sub End If End Sub Public Sub start executeKeywords End Sub Private Sub parseKeywords(fileName As String) keywords = file.ReadAllLines(fileName) End Sub Private Sub executeKeywords For Each keyword As String In keywords If trim(mid(keyword,1,2)) <> "//" And trim(keyword) <> "" Then Dim strParams As String() = split(keyword,",") Dim parameters (strParams.Length-2) As Object For x As Integer = 0 To strParams.Length - 2 parameters(x) = trim(strParams(x + 1)) Next startMethod(strParams(0),parameters) End If Next End Sub Public Sub startMethod(methodName As String, parameters() as object) Dim names as String() = split(methodName,".") Dim a As system.Reflection.Assembly = system.reflection.Assembly.GetExecutingAssembly For Each t as system.Type In a.GetTypes If t.Name = names(0) Then For Each m As system.Reflection.MethodInfo In t.GetMethods If m.Name = names(1) Then Dim x As Integer = 0 For Each paramInfo As System.Reflection.ParameterInfo In m.GetParameters() parameters(x) = convert.ChangeType(parameters(x),paramInfo.ParameterType) x = x + 1 Next Dim o As New Object m.Invoke(o,parameters) End if Next End if Next End Sub End Class