[Webtest] Clicking a dynamically generated button

Marc Guillemot webtest@lists.canoo.com
Tue, 25 Apr 2006 07:59:21 -0700 (PDT)


Hi Nick,

I suppose that it doesn't work. 
The current support for document.write is not that good and your js code
(that is not optimal as well ;-)) will make it fail: the content written by
each single document.write is parsed for itself without beeing buffered to
wait for the "rest" of the tag. As a result the generated DOM will be really
different from what you expect and webtest will probably not found the
button (or it won't have any value and onclick handler)

Marc.
--
View this message in context: http://www.nabble.com/Clicking-a-dynamically-generated-button-t1505502.html#a4083771
Sent from the WebTest forum at Nabble.com.