HtmlUnit (or HttpUnit) - Javascript and iFrames



Greetings All:

I am wondering if anyone has experience working with js and iframes in
httpunit or htmlunit?

The application I am working with has multiple iframes that get loaded
with specific content when certain js code is called.
e.g.

Clicking a Tab
onClick="tabChange('0', '4')

load specific Tab with content
loadTab(0, 'New')

I am wondering how difficult it is to do simple js calls from httpUnit
or htmlunit,
and if there are any examples out there.

Thanks,

kalen

.



Relevant Pages

  • HttpUnit - JavaScript - iFrames
    ... I am wondering if anyone has experience working with js and iframes in ... The application I am working with has multiple iframes that get loaded ... Clicking a Tab ... I am wondering how difficult it is to do simple js calls from httpUnit, ...
    (comp.lang.java.programmer)
  • Re: HtmlUnit
    ... in my R&D I came across HtmlUnit ... Samie, Pamie, Watir, JSUnit, Selenium, and HttpUnit are its competition, ... HtmlUnit, IIRC, only reads HTML. ... It mocks a web browser, ...
    (comp.software.testing)
  • Re: HtmlUnit
    ... > Recently I have been working with Junit and HttpUnit. ... limited and needed to drop down to using rhino and httpunit. ... Someone else at my site suggested htmlunit. ... darrell dot grainger at utoronto dot ca ...
    (comp.software.testing)
  • HtmlUnit - handling client side redirect
    ... Below I have posted some examples of both successfully handling client ... Client side redirect indicated by: ... Handled in HttpUnit like such: ... Attempting to perform same actions in HtmlUnit: ...
    (comp.software.testing)
  • Re: Unittesting for web applications
    ... Httpunit and Htmlunit, ... of variants. ... > unittests for web applications? ...
    (comp.lang.python)