[Webtest] innerHTML undefined
Wed, 14 Jun 2006 06:57:43 -0700 (PDT)
your scriptStep works on htmlunit's DOM. innerHTML is not a property of a
DOM node but of an associated host host object. It is possible to access the
associated host object (have a look at htmlunit's API) and therefore to call
the jsx_GetInnerHTML() method, but I'm not sure that it makes really sense.
In your case I would rather write a test like:
<verifyXPath xpath=""//*[@id = 'divDutiable']/text()" text="gaga"/>
View this message in context: http://www.nabble.com/innerHTML-undefined-t1786010.html#a4865333
Sent from the WebTest forum at Nabble.com.