Re: Frame Content
Russell Gold <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
On Apr 7, 2006, at 1:18 PM, Poornima Mallur wrote:
> Rusell, had one more question?
>
> I have my machine(test) on Engr network and the site that i am
> testing is not on the same network.Will that be a problem, if it
> was then i could not get into the site itself. Am i right? Sinc ei
> am able to get into the site and i am able to login into 2 tier
> logins and then i do get the frameset response and then the frame
> contents do come across? Now i did see the HttpUnit SSL FAQ in
> which there is a talk about DNS streamlining to trick to the test
> machine, but as i said bot these machiens ar eon different
> network, how can i do that ?
It is not clear to me why that should be a problem if the networks
can see each other.
> This is where the application is bombing out:
>
> /**
> * Returns the response associated with the specified frame name.
> * Throws a runtime exception if no matching frame is defined.
> **/
> public WebResponse getFrameContents( String frameName ) {
> WebResponse response = _frameContents.get( frameName );
> if (response == null) throw new NoSuchFrameException
> ( frameName );
> return response;
>
> although in the frameset response i do get the response with all
> the frames and then why does it bomb out here.
>
Without the ability actually to duplicate your problem, I don't see
how to answer that question
> Is there someway can i tell httpunit to focus on the frame or make
> the frame active
>
What do you mean by "focus on a frame"? I presume that you are using
jWebUnit here?
>
> When i tried to find out what r the frames that r active i get only
> one frame as active which is the _top frame?Why is that? and how
> else can i get the other frames too?
>
Again, I would need to be able to duplicate your test to diagnose it.
The frames are supposed to be available automatically. How you access
them depends on whether you are using HttpUnit or jWebUnit
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642