[WT-support] LUA-Script and Arguments
Franta Bendl
dj0zy at i--i.de
Tue Dec 1 13:02:58 CET 2009
Hi Larry,
it works, thanks!
But is there reason, why the Script-Manager denys the usage of one script more
times (for different keys)? I believe it is the trick of the usage of an
argument to use the same script for the different functions even controlled
by the argument. But I can't find a way how to realize it in Wintest/Script
manager.
73 de Franta/DJ0ZY
On Tuesday 01 December 2009 11:22:47 Laurent HAAS - F6FVY wrote:
> Hi Franta
>
> Franta Bendl a écrit :
> > there is the possibility to pass an argument to LUA-Script. If I call the
> > LUA from the shell the name of appropriate global table with arguments is
> > "arg". But this variable doesn't seem to be defined if the script is
> > called from Wintest. How can be accessed the passed argument in Wintest?
> > I did find a hint neither in the documentation nor in examples.
>
> Use wtArgument.
>
> To pass a string it must be enclosed by double quotes.
>
> BTW, the manual build I was talking about in my last post is now available.
>
> http://download.win-test.com/v4/nightly/wt_dev.zip
>
> (In this latest build, I also added to possibility to use wtArg instead
> of wtArgument).
>
> 73
>
> Larry - F6FVY
> _______________________________________________
> Support mailing list
> Support at win-test.com
> http://www.f5mzn.org/cgi-bin/mailman/listinfo/support
More information about the Support
mailing list