[Webtest] [webtest][JIRA] Closed: (WT-330) Make dynamically changed pages available in reports

Marc Guillemot (JIRA) Marc Guillemot (JIRA)" <noreply@canoo.com
Thu, 18 Oct 2007 13:21:50 +0200 (CEST)


     [ http://webtest-community.canoo.com/jira/browse/WT-330?page=all ]
     
Marc Guillemot closed WT-330:
-----------------------------

    Resolution: Fixed

Implemented in build 1624.

Html page state will be dumped as "last result page" at end of step execution if the page itself hasn't changed since previous step but a node has been added/deleted (this is done using a DomChangeListener, see http://htmlunit.sourceforge.net/apidocs/com/gargoylesoftware/htmlunit/html/DomChangeListener.html).

See 2nd resulting page in report for "dragAndDrop: example with scriptaculous Drag & Drop support" test:
http://webtest.canoo.com/webtest/reports/selftest/File211.html

If this strategy consumes too much time, we should give the user the possibility to configure it (for instance like Nate proposition).

> Make dynamically changed pages available in reports
> ---------------------------------------------------
>
>          Key: WT-330
>          URL: http://webtest-community.canoo.com/jira/browse/WT-330
>      Project: WebTest
>         Type: New Feature

>     Versions: 2.5
>     Reporter: Marc Guillemot
>     Assignee: Marc Guillemot

>
> Currently only new "pages" received from server are saved in the file system and visible in reports. 
> This makes reports blind when testing AJAX application where no complete page comes from the server and only part of the current page are modified.
> When the content of a page is changed dynamically after the execution of a step, the current page "state" should be written in a file to be visible in the reports.
> It would perhaps take too much time to save the current page state for each change (for instance a setInputField changes the page state too) therefore different strategies should be possible:
> - on each change (even change of input field value)
> - on AJAX call / on background server request
> - on new page (as it is done now)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira