[Webtest] Best way to determine "current response" (for better JS support)?

Marc Guillemot webtest@lists.canoo.com
Wed, 17 Nov 2004 10:43:43 +0100


Hi,

with the increasing support for javascript it seems that current way of considering "current" response is not more natural.

Current situation:
The page on which steps (like verifyXXX, setXXX, ...) are performed is - approximatively - the last one returned by an 
invoke, a clicklink or a clickbutton (except for popups), a followframe (perhaps do I forget some steps).
This means for instance that responses loaded by a js onchange event in a form or popups are never considered as the 
current response.

A more "natural" way?
Perhaps could we avoid saving a special response as the "current" one and just consider the window that has the focus? 
It would be a bit more difficult when frames are present but no impossible.

Do I miss something or could we go in this direction?

Marc.