I want to create a script that has input parameter. My problem is that I am unable to use the input parameter or reference it.
This is what I did:
1. In the properties of my Script I added an input parameter name 'sActiveFile' and gave it a default value
2. I declared the Sub Main of the script as follows:
PublicSub Main(args As IDictionary(OfString, Object))
3. I just want to make sure that I can see the input parameter so I have a line like this
Console.WriteLine(args("sActiveFile"))
When I run the script I get this message
I want to actually use the value of the input parameter later in the script and capture the file that it refers to.
I am havaing a very hard time with Silk Test documentation for .NET scripts there are no examples or proper description of how to do things. I would appreciate any help in this simple step that seems to be no big deal and should work.
