From: Steve C. <st...@bl...> - 2003-08-14 18:17:42
|
I've succeeded in making a HtmlUnit test that logs into my web app. The response page is divided into 3 frames. How can I get the contents of a frame so I can verify them? I've tried calling various functions, but I can't find one that will return the contents: oFrame: HtmlFrame[<frame name="leftPane" noresize="" src=":leftPane">] oFrame.asText(): oFrame.asXml(): <frame name="leftPane" noresize="" src=":leftPane"/> oFrame.getChildElements(): [] webClient.getWebWindowByName("leftPane"): HtmlFrame[<frame name="leftPane" noresize="" src=":leftPane">] Thanks, Steve |