[Webtest] [dev] <dumpResponse/>
Denis N. Antonioli
webtest@lists.canoo.com
Mon, 5 Dec 2005 21:06:34 +0100
Hi
a very interesting proposition indeed.
But I wonder if a new step is the best solution?
A new step is easier to implement, but is it really practical in =20
daily use?
How about overloading the exisiting configuration option saveResponse =20=
from
its present boolean yes/no to a level-based concept, as we know it =20
from, e.g, log4j
For example:
saveResponse=3Dno -> as today
saveResponse=3Dyes -> as today
saveResponse=3Ddebug -> as today, plus according to your proposal in a =20=
2nd file
What do you think?
dna
On 5 d=E9c. 05, at 11:30, Marc Guillemot wrote:
>> Maybe we find even more information that would be helpful and
>> isn't available in the log.
>
> Yep
>
> 1- the current opened windows with their frames
> giving information on the opened windows, the title and the url of =20
> the documents as well which one is considered by webtest as the =20
> current one.
>
> E.g.:
>
> Current windows:
> * - Choose user (http://foo.com/myapp/chooseUser)
> - My great app (http://foo.com/myapp/start)
> - menu "Left menu" (http://foo.com/myapp/left)
> - main "Main content" (http://foo.com/myapp/main)
>
> 2- the forms in the current document with their controls and how =20
> they can be identified by setXxx steps:
>
> E.g.:
>
> Forms in http://foo.com/myapp/main:
> * - loginForm (http://foo.com/myapp/doLogin)
> - username (text) can be found by name (username) or id =20
> (loginField)
> - userpasswd (password) can be found by name (userpasswd) or id =20=
> (loginPasswd)
> - submit (submit) can be found by name (submit)
> - searchForm (http://foo.com/myapp/search)
> - freetext (text) can be found by name (freetext)
> - submit (submit) can be found by name (submit)
>
> 3- The same thing for links
>
> etc
>
> in short, a debugger for webtest ;-)
>
> Marc.
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
--=20
Java is not a product or an OS or a platform, it's just a brand.
-- Dave Winer