I've setup test manager to pass an option (parameter) to a robot script in a test suite.
I'm trying to use TSSGetScriptOption to retrieve the value of the option but cant get it working.
Can anyone give me some hints?

Is this even close?
Declare Function TSSGetScriptOption Lib "rttss.dll" (ByVal optionName$) As string

Sub Main

Dim test as string
test = TSSGetScriptOption("urll")
msgbox test

End Sub
I've setup test manager to have an option "urll" with value "- 666". All I'm expecting is the option value appearing in a message box to prove its getting to the script.

Any help would be appreciated