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 daily use?

How about overloading the exisiting configuration option saveResponse from its present boolean yes/no to a level-based concept, as we know it from, e.g, log4j

For example:
saveResponse=no  -> as today
saveResponse=yes -> as today
saveResponse=debug -> as today, plus according to your proposal in a 2nd file


What do you think?

        dna

On 5 déc. 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 the documents as well which one is considered by webtest as the 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 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 (loginField) - userpasswd (password) can be found by name (userpasswd) or id (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
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

--
Java is not a product or an OS or a platform, it's just a brand.
  -- Dave Winer

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to