Marc,
It seems its been longer than I thought since I used version 2.0. The
output i'm looking for doesnt have the PASS/FAIL, but does output each
step as it occurs. Here is an example of the output to console/logfile
from webtest:
[invoke] INFO (com.canoo.webtest.engine.Context) - Current form set
to none
[invoke] INFO (com.canoo.webtest.engine.Context) - Current response
now: https://grian.ireland:6789/console/login/Login
[verifyTitle] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
verifyTitle "we should see the login title" (2/9)
[setInputField] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
setInputField "Set user name" (3/9)
[setInputField] INFO (com.canoo.webtest.engine.Context) - Current form
set to (action=../login/Login;jsessionid=07A45BD787A37E13CB59101B7F20C2AF)
[setInputField] INFO
(com.canoo.webtest.steps.form.AbstractSetFieldStep) - Found 1 suitable
fields, considering only the first one
[setInputField] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step:
setInputField "Set password" (4/9)
BUILD FAILED
/export/home/user/qs01/autotests/src/Minotaur/webtest_testcases/rc16/configuration_manager/Test/Test2.xml:18:
Canoo Webtest: R_1217.
Test failed.
The newer builds only output the BUILD FAILED/SUCCESSFUL at the end. It
would be great if there is a way we can get this output or similar
without having to use results.xml.
As per your question, yes I do work for Sun Microsystems and we are
currently integrating WebTest into out testing frame work for the SunRay
groups web UI. WebTest is a great tool, our only issue is that out web
applications rely heavily on JavaScript and this can cause problems with
things like enabling/disabling buttons, checkboxes and other
components. Other than that keep up the good work.
Thanks,
Christian
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest