RE: [Webunitproj-users] META-Refresh support..
Brought to you by:
dgan
From: Nic P. <Ni...@in...> - 2003-04-25 16:30:39
|
Hrmm..=20 Ya, I'm not seeing anything about clearing the cache in either = WebClient, WebResponse or WebFactory. My build is a couple weeks old though, is there a more recent release = maybe? -Nic > -----Original Message----- > From: Doron [mailto:dg...@sh...] > Sent: Thursday, April 24, 2003 6:15 PM > To: Nic Pottier > Cc: web...@li... > Subject: Re: [Webunitproj-users] META-Refresh support.. >=20 >=20 > Hi, >=20 > You need to flush the page cache. (there is a method for that > somewhere). Essentially the first page you get is cached by webunit in > order to give you fast responses. A method is provided to=20 > flush this (as > I recall). Its been a while since I played with it. If this is not it > let me know. >=20 >=20 > -Doron >=20 >=20 > On Thu, 2003-04-24 at 17:53, Nic Pottier wrote: > > Howdy. > >=20 > > I've had great luck using the enterprise webunit package to=20 > test a project I'm working on. The interface is simple and=20 > clean, and we're able to test our product despite it's heavy=20 > use of javascript which did not work without testers. So in=20 > short, kudos! > >=20 > > Now of course, with any kudos there is the obligatory=20 > caveat. One problem we have is that we use meta-refresh'es=20 > in order to poll for time consuming operations. IE, the user=20 > takes an action which might take 20 seconds or so, and they=20 > are taken to a 'processing' page or the like, which polls by=20 > reposting to itself every 2 seconds until the process is=20 > complete, at which time it again uses a meta refresh tag to=20 > push itself to the final destination page. > >=20 > > Although IE correctly deals with this while running in the=20 > webunit context, I am unable to get the 'refreshed' page from=20 > webunit. The WebResponse I get is always the original page. =20 > I've poked around in the API and haven't seen any obvious way=20 > to work around this. Am I missing something here, or is=20 > this just an 'undocumented feature'. ;) > >=20 > > Thanks again for such a great tool, > >=20 > > -Nic > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Webunitproj-users mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/webunitproj-users >=20 >=20 |