[Webtest] Documentation/example on how to pass in arguments , read inside a testcase

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Tue, 15 Jan 2008 13:20:47 +0100


q a wrote:
> Hi,
> 
> I am new to webtest and would like to know if it is possible to invoke
> webtest with some command line parameters that can be read and used
> inside of my testcase.
> 
> For example, from my testcase, I would like to be able to read in a
> string - search the webpage for that string and click the corresponding
> link.
> 
> 
> Thanks,
> Jeff

all properties (http://ant.apache.org/manual/using.html#properties) can
be specified on the command line with the -DmyProp=something syntax.

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com