Quantcast
Channel: Silk Test - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 625

STW arguments correct usage?

$
0
0

I have this command line call:

STW -project Common -script MYTEST -variable "browsertype=Firefox"

And this two Main in MYTEST:

PublicSub Main()

   msgbox("Main launched")

EndSub

PublicSub Main(browsertype As String)

   msgbox( "Main with arg launched")

EndSub

 

This is the error I get from command:

The following variables were not passed into MYTEST
are not recognized:
 ->browsertype

Please check the name and number of script variables for this script.

I tried not defining the type of the argument also, not working.

Also, is it possible to pass a dictionary as an argumentfrom the command line?


Viewing all articles
Browse latest Browse all 625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>