[Webtest] Prompt for user input?
Paul King
webtest@lists.canoo.com
Wed, 12 Jul 2006 22:06:29 +1000
Hi Ralf,
Ant has a built-in <input> tag which you could try:
http://ant.apache.org/manual/CoreTasks/input.html
It may not work out-of-the-box (or at all)
if you are running WebTest from within an IDE.
You can also try the JeraAntTasks in many cases
which will work by popping up a little Dialog box.
It even has a "password" mode which doesn't
echo what you type if you need it:
http://www.jera.com/tools/anttasks/#query
You will obviously need to not have either of these
included as mandatory tasks within a continuous
integration environment build, e.g. CruiseControl, etc.
Cheers, Paul.
Ralf Müller wrote:
> Hi!
>
> guess this question if trivial, but I couldn't find the answer in the
> manual:
>
> How do I prompt the tester for input. Yes, I know - such a test should
> be designed to run stand alone. But there is no way for that in my case...
>
> Webtest has to fetch a Challenge from the server and ask me for the
> response...
>
> Is this possible in webtest? Or do I have to use some ant steps?
>
> Best Regards,
> Ralf