FW: Handling iframes
"Krishnan, Navneetha" <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <B0AD405A5CF4C9479FB52279C6EE68302883EB1F@gsnmp36es.firmwide.corp.gs.com> |
> Hi,
>
> We are evaluating httpunit for unit testing our web app. I am facing
> problems handling iframes.
>
> I have this iframe hidden on page load and upon clicking a link it becomes
> visible. After clicking on the link if I check with
> webResponse.getFrameNames(), I can see the frame name. But when I do
> webConversation.getFrameContent("frameName"), I get an error saying the
> frame is not active.
>
> Could you please help me identify the problem. I wasn't able to find any
> good documentation on this too. Nice if you can lead me to any.
>
> Thanks,
> Navneeth
>
>