You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
(17) |
Aug
(18) |
Sep
(22) |
Oct
(16) |
Nov
(6) |
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(11) |
Feb
(10) |
Mar
(34) |
Apr
(26) |
May
(6) |
Jun
(22) |
Jul
(14) |
Aug
(4) |
Sep
(47) |
Oct
(69) |
Nov
(23) |
Dec
(21) |
2005 |
Jan
(53) |
Feb
(33) |
Mar
(92) |
Apr
(65) |
May
(63) |
Jun
(57) |
Jul
(43) |
Aug
(132) |
Sep
(61) |
Oct
(75) |
Nov
(60) |
Dec
(130) |
2006 |
Jan
(74) |
Feb
(87) |
Mar
(101) |
Apr
(58) |
May
(54) |
Jun
(42) |
Jul
(31) |
Aug
(67) |
Sep
(61) |
Oct
(71) |
Nov
(28) |
Dec
(58) |
2007 |
Jan
(53) |
Feb
(50) |
Mar
(96) |
Apr
(66) |
May
(55) |
Jun
(130) |
Jul
(99) |
Aug
(115) |
Sep
(37) |
Oct
(78) |
Nov
(24) |
Dec
(70) |
2008 |
Jan
(94) |
Feb
(85) |
Mar
(197) |
Apr
(274) |
May
(119) |
Jun
(143) |
Jul
(193) |
Aug
(99) |
Sep
(160) |
Oct
(120) |
Nov
(178) |
Dec
(109) |
2009 |
Jan
(238) |
Feb
(169) |
Mar
(115) |
Apr
(109) |
May
(131) |
Jun
(167) |
Jul
(144) |
Aug
(193) |
Sep
(155) |
Oct
(154) |
Nov
(97) |
Dec
(127) |
2010 |
Jan
(108) |
Feb
(127) |
Mar
(176) |
Apr
(113) |
May
(130) |
Jun
(200) |
Jul
(115) |
Aug
(80) |
Sep
(92) |
Oct
(101) |
Nov
(124) |
Dec
(53) |
2011 |
Jan
(67) |
Feb
(144) |
Mar
(88) |
Apr
(60) |
May
(89) |
Jun
(54) |
Jul
(68) |
Aug
(81) |
Sep
(48) |
Oct
(40) |
Nov
(10) |
Dec
(20) |
2012 |
Jan
(21) |
Feb
(28) |
Mar
(17) |
Apr
(35) |
May
(41) |
Jun
(44) |
Jul
(68) |
Aug
(67) |
Sep
(89) |
Oct
(58) |
Nov
(47) |
Dec
(56) |
2013 |
Jan
(49) |
Feb
(28) |
Mar
(46) |
Apr
(31) |
May
(28) |
Jun
(37) |
Jul
(34) |
Aug
(52) |
Sep
(42) |
Oct
(108) |
Nov
(59) |
Dec
(56) |
2014 |
Jan
(41) |
Feb
(72) |
Mar
(46) |
Apr
(21) |
May
(19) |
Jun
(17) |
Jul
(15) |
Aug
(40) |
Sep
(11) |
Oct
(3) |
Nov
(5) |
Dec
(31) |
2015 |
Jan
(11) |
Feb
(12) |
Mar
(19) |
Apr
(19) |
May
(38) |
Jun
(54) |
Jul
(14) |
Aug
(42) |
Sep
(14) |
Oct
(16) |
Nov
(26) |
Dec
(14) |
2016 |
Jan
(3) |
Feb
(1) |
Mar
(24) |
Apr
(5) |
May
(15) |
Jun
(14) |
Jul
(33) |
Aug
(19) |
Sep
(8) |
Oct
(10) |
Nov
|
Dec
(2) |
2017 |
Jan
(16) |
Feb
(12) |
Mar
(23) |
Apr
(8) |
May
(11) |
Jun
(20) |
Jul
(21) |
Aug
(20) |
Sep
|
Oct
(6) |
Nov
(9) |
Dec
(2) |
2018 |
Jan
(7) |
Feb
(5) |
Mar
(6) |
Apr
(5) |
May
(1) |
Jun
(2) |
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
|
Dec
(4) |
2019 |
Jan
(2) |
Feb
(2) |
Mar
(3) |
Apr
(4) |
May
|
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
|
Oct
(4) |
Nov
(1) |
Dec
(7) |
2020 |
Jan
(2) |
Feb
(6) |
Mar
(9) |
Apr
(1) |
May
(1) |
Jun
(15) |
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(6) |
Nov
(3) |
Dec
(5) |
2021 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(6) |
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <pas...@ya...> - 2004-05-03 09:21:10
|
Hi, Thanks Alexei. Just a last question. I use this code : List frames = frameset.getFrames(); My list contains 2 objects HtmlFrames. When I collect my page from the first HtmlPage of my list : HtmlFrame frameX = (HtmlFrame)frames.get(0) ; HtmlPage pageX = frameX.getPage() ; and I verify the title of this page, I receive the title of the page which contains frame and not the title of my first frame. ../.. pageX.getTitleText() I don't find the way to get my HtmlPage from this list. The list.get(0).getPage returns parent page and not the first frame page. I think that it must be simple but I don't find the way for moment. Pascal. --- al...@go... a écrit : > Hi Pascal, > > I was working with frameset of 3 frames that used to > update each > other wild and open plenty popups and new windows. I > used following > approach to avoid this kind of problems: > > I kept the 'frameset' available during the test: > > Page frameset = ... > > Page frame1 = ... > Page frame2 = ... > Page frame3 = ... > > do some action in frame2 that updates frame3 and > 'forget' the reusult: > > somebutton.click(); > instead of > frame3 = somebutton.click(); > > and get the page in the 3rd frame from the frameset > direct: > > frame3 = ... > Do some like > List frames = frameset.getFrames(); > frame3 = frames.get(2); > or > frame3 = ((HtmlFrame)(frames.get(2))).getPage(); > (I do not remember the methods names and return > types exactly - I > used HtmlUnit in Jan. last time, but this is the > idea) > > Hope this helps > > Alexei > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the > market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the > exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id66&op=click > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com |
From: <al...@go...> - 2004-04-30 10:23:16
|
Hi Pascal, I was working with frameset of 3 frames that used to update each other wild and open plenty popups and new windows. I used following approach to avoid this kind of problems: I kept the 'frameset' available during the test: Page frameset =3D ... Page frame1 =3D ... Page frame2 =3D ... Page frame3 =3D ... do some action in frame2 that updates frame3 and=20 'forget' the reusult: somebutton.click(); instead of=20 frame3 =3D somebutton.click(); and get the page in the 3rd frame from the frameset direct: frame3 =3D ... Do some like=20 List frames =3D frameset.getFrames(); frame3 =3D frames.get(2); or frame3 =3D ((HtmlFrame)(frames.get(2))).getPage(); (I do not remember the methods names and return types exactly - I used HtmlUnit in Jan. last time, but this is the idea) Hope this helps Alexei |
From: <pas...@ya...> - 2004-04-29 17:05:10
|
I come back on this problem. I worked on another thing since 2 month but now, I returns on this. I have a top level page which contains 2 frames. In the first frame, I load a page with 3 radiobox. When I click on one or another radiobox of this page, the page of the second frame is updated. My problem is to collect the updated page of my top level page. In fact, I collect the content of my second frame before update but I don't know how can I collect it after the update(after action on radiobox). With an example code : /**************************************/ //Initialize the url. java.net.URL url = new java.net.URL(args[0]) ; WebClient webClient = new WebClient() ; ScriptEngine se = webClient.getScriptEngine() ; //here, I collect the page which contains my 2 frames. HtmlPage page = (HtmlPage) webClient.getPage(url); try { //collect the first and the second frames. //The first frame is not change the second for moment. //An action on the first updates the second frame. fr1 = getFrameByIndex(page,0,"Frame1(index)"); fr2 = getFrameByIndex(page,1,"Frame2(page before update action)"); //I execute an action to change the contents of the second frame. fr3 = execJS(fr1,se,"Jscript code to update second page of frame","UPDATE") ; ????=> Now, How can we collect again the top level page with the first page and the updated second page ? How can I collect directly the updated second page ? I don't find the solution for moment. /**************************************/ I hope that it's more clear for you. Pascal. --- Mike Bowler <mb...@Ga...> a écrit : > pascal NICOLAS wrote: > > How can I collect a new HtmlPage object obj2 which > is > > updated after the action on the obj1 ? > > I don't think I understand the problem. You already > have the top level > page which contains two frames. You can ask each > one of those frames > for their content (another Page). > > What are you trying to do that you are having > trouble with? > > -- > Mike Bowler > Principal, Gargoyle Software Inc. > Voice: (416) 822-0973 | Email : > mb...@Ga... > Fax : (416) 822-0975 | Website: > http://www.GargoyleSoftware.com > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps > Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com |
From: Mike A <pun...@ho...> - 2004-04-20 12:26:23
|
Hi everyone, I've been using HtmlUnit for 3 days now and it's working beautifully, except for the memory usage. Sometimes when a complicated page loads, the memory usage jumps 10 MB. As I'm using it to recursively open new pages in our web application, this quickly boils over into an OutOfMemoryError. I'm aware of the ability to increase the memory available to Java, and I was wondering what a reasonable setting would be for this. Reading the message list, I saw a recommendation that new WebClients be created so that cached information can be cleared, but as our application uses cookies specific to one browser and the login process takes at least 15 seconds (not my doing!) this doesn't seem doable for us. Is there a programatic way to clear this cache or a proper way of disposing of unwanted HtmlPages that I missed in the JavaDocs? Thanks for the assistance, Mike _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/ |
From: Atkinson, J. (AGRE) <Joh...@sm...> - 2004-04-20 12:15:39
|
Just wondering if I could possibly get an update if anybody has had a= chance to look at my problem. Thanx Much, John S. Atkinson ****************************************** The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email. ****************************************** |
From: Atkinson, J. (AGRE) <Joh...@sm...> - 2004-04-16 12:59:00
|
ok. I think I've got it, I'm just not sure if attaching it to this post is= a good way to submit it. If attaching doesn't work, then how do you= suggest I get it to you? If attaching does work, but you would like me to= send the file to you in some other way, then let me know. Thanx Much, John -----Original Message----- From: htm...@li... [mailto:htm...@li...]On Behalf Of Brad Clarke Sent: Thursday, April 15, 2004 12:27 PM To: htm...@li... Subject: RE: [Htmlunit-user] Hello??? http://htmlunit.sourceforge.net/submittingPatches.html Also, some help for making diffs with added files: http://openacs.org/bugtracker/openacs/patch-submission-instructions.html At 10:26 AM 4/15/2004, you wrote: >Not sure what you mean by "patch format." If you let me know then I'll be= =0D >happy to resubmit it. > >Thanx Much, >John > >-----Original Message----- >From: htm...@li... >[mailto:htm...@li...]On Behalf Of Brad >Clarke >Sent: Thursday, April 15, 2004 11:03 AM >To: htm...@li... >Subject: Re: [Htmlunit-user] Hello??? > > >I haven't had time to look at it. Eudora eats the HTML you put in the= email >so it's not easy for me to repro (or even examine) the problem. If you >could resubmit it in patch format it would save a lot of time. > >Brad C > > >At 08:00 AM 4/15/2004, Atkinson, John (AGRE) wrote: > > >I'm just wondering whats going on with the question that I posted on > >tuesday. I've got a deadline to identify a tool to use for automated > >testing of our system and I would like to use htmlunit, since it is the > >best freeware project I've found so far, however if the problem i'm= having > >is actually a bug in the code and one that would take an extended amount > >of time to resolve I'll have to abandon the use of htmlunit. > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dclick _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user </table> </Pre> <HTML> <br> <br> ************************************************<br> The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email.<br> ************************************************<br> </HTML> |
From: Brad C. <bc...@bo...> - 2004-04-15 16:28:10
|
http://htmlunit.sourceforge.net/submittingPatches.html Also, some help for making diffs with added files: http://openacs.org/bugtracker/openacs/patch-submission-instructions.html At 10:26 AM 4/15/2004, you wrote: >Not sure what you mean by "patch format." If you let me know then I'll be >happy to resubmit it. > >Thanx Much, >John > >-----Original Message----- >From: htm...@li... >[mailto:htm...@li...]On Behalf Of Brad >Clarke >Sent: Thursday, April 15, 2004 11:03 AM >To: htm...@li... >Subject: Re: [Htmlunit-user] Hello??? > > >I haven't had time to look at it. Eudora eats the HTML you put in the email >so it's not easy for me to repro (or even examine) the problem. If you >could resubmit it in patch format it would save a lot of time. > >Brad C > > >At 08:00 AM 4/15/2004, Atkinson, John (AGRE) wrote: > > >I'm just wondering whats going on with the question that I posted on > >tuesday. I've got a deadline to identify a tool to use for automated > >testing of our system and I would like to use htmlunit, since it is the > >best freeware project I've found so far, however if the problem i'm having > >is actually a bug in the code and one that would take an extended amount > >of time to resolve I'll have to abandon the use of htmlunit. > > |
From: Atkinson, J. (AGRE) <Joh...@sm...> - 2004-04-15 15:29:29
|
Not sure what you mean by "patch format." If you let me know then I'll be= happy to resubmit it. Thanx Much, John -----Original Message----- From: htm...@li... [mailto:htm...@li...]On Behalf Of Brad Clarke Sent: Thursday, April 15, 2004 11:03 AM To: htm...@li... Subject: Re: [Htmlunit-user] Hello??? I haven't had time to look at it. Eudora eats the HTML you put in the email= =0D so it's not easy for me to repro (or even examine) the problem. If you=0D could resubmit it in patch format it would save a lot of time. Brad C At 08:00 AM 4/15/2004, Atkinson, John (AGRE) wrote: >I'm just wondering whats going on with the question that I posted on=0D >tuesday. I've got a deadline to identify a tool to use for automated=0D >testing of our system and I would like to use htmlunit, since it is the=0D >best freeware project I've found so far, however if the problem i'm having= =0D >is actually a bug in the code and one that would take an extended amount=0D >of time to resolve I'll have to abandon the use of htmlunit. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dclick _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user </table> </Pre> <HTML> <br> <br> ************************************************<br> The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email.<br> ************************************************<br> </HTML> |
From: Brad C. <bc...@bo...> - 2004-04-15 15:04:13
|
I haven't had time to look at it. Eudora eats the HTML you put in the email so it's not easy for me to repro (or even examine) the problem. If you could resubmit it in patch format it would save a lot of time. Brad C At 08:00 AM 4/15/2004, Atkinson, John (AGRE) wrote: >I'm just wondering whats going on with the question that I posted on >tuesday. I've got a deadline to identify a tool to use for automated >testing of our system and I would like to use htmlunit, since it is the >best freeware project I've found so far, however if the problem i'm having >is actually a bug in the code and one that would take an extended amount >of time to resolve I'll have to abandon the use of htmlunit. |
From: Olivier F. <oli...@ne...> - 2004-04-15 13:11:49
|
HtmlUnit is the best freeware i know. However, if you need a 0 default = tolerance tool, maybe you should take a look at commercial solutions. Of course, the better solution would be to keep up with HtmlUnit and = help the developpement team to resolve bugs. This decision depends on = your manager, because actually there is no perfect tool and even = commercial ones are bugged. -----Message d'origine----- De : Atkinson, John (AGRE) [mailto:Joh...@sm...] Envoy=E9 : jeudi 15 avril 2004 15:01 =C0 : htm...@li... Objet : [Htmlunit-user] Hello??? I'm just wondering whats going on with the question that I posted on = tuesday. I've got a deadline to identify a tool to use for automated = testing of our system and I would like to use htmlunit, since it is the = best freeware project I've found so far, however if the problem i'm = having is actually a bug in the code and one that would take an extended = amount of time to resolve I'll have to abandon the use of htmlunit. Thanx In Advance, John S. Atkinson ~Smiths Aerospace~ ****************************************** The information contained in, or attached to, this e-mail, may contain = confidential information and is intended solely for the use of the = individual or entity to whom they are addressed and may be subject to = legal privilege. If you have received this e-mail in error you should = notify the sender immediately by reply e-mail, delete the message from = your system and notify your system manager. Please do not copy it for = any purpose, or disclose its contents to any other person. The views or = opinions presented in this e-mail are solely those of the author and do = not necessarily represent those of the company. The recipient should = check this e-mail and any attachments for the presence of viruses. The = company accepts no liability for any damage caused, directly or = indirectly, by any virus transmitted in this email. ****************************************** ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=3Dick _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Atkinson, J. (AGRE) <Joh...@sm...> - 2004-04-15 13:03:29
|
I'm just wondering whats going on with the question that I posted on= tuesday. I've got a deadline to identify a tool to use for automated= testing of our system and I would like to use htmlunit, since it is the= best freeware project I've found so far, however if the problem i'm having= is actually a bug in the code and one that would take an extended amount= of time to resolve I'll have to abandon the use of htmlunit. Thanx In Advance, John S. Atkinson ~Smiths Aerospace~ ****************************************** The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email. ****************************************** |
From: Atkinson, J. (AGRE) <Joh...@sm...> - 2004-04-14 12:42:14
|
oops... I meant that Output_Page2.html should be the same as Page3.html, but ends= up being the same as Page2.html. -----Original Message----- From: htm...@li... [mailto:htm...@li...]On Behalf Of Atkinson, John (AGRE) Sent: Tuesday, April 13, 2004 5:19 PM To: htm...@li... Subject: [Htmlunit-user] Redirect Error First: Thanx Brad, the select works now that I downloaded the nightly= build. Second: I immediately ran into another problem. The next page in the= series basically just propegates the inputs forward "On Load" to another= page through a javascript function that calls location.replace. I wrote a= quick example to show you what happens. Page1.html ------------------------------------------------------- <HTML> <HEAD> <TITLE>TEST PAGE 1</TITLE> </HEAD> <BODY> <FONT SIZE=3D"12" COLOR=3D"red">THIS IS PAGE 1</FONT> <FORM name=3D"Form1" method=3D"GET" action=3D"Page2.html"> <SELECT NAME=3D"select0" > <OPTION VALUE=3D"Zero" SELECTED>0</OPTION> <OPTION VALUE=3D"One">1</OPTION> <OPTION VALUE=3D"Two">2</OPTION> <OPTION VALUE=3D"Three">3</OPTION> <OPTION VALUE=3D"Four">4</OPTION> </SELECT> <BR><BR> <BR> <SCRIPT LANGUAGE=3DJavaScript> function processform() { document.forms[0].action=3D"Page2.html"; var nextElement =3D document.forms[0].elements[0]; if(nextElement.name =3D=3D "select0") { var selection =3D new String(nextElement.value); alert("Selection =3D '" + selection + "'"); }//end of if statement document.forms[0].submit(); }//end of processform function </SCRIPT> </FORM> <A HREF=3D"javascript:processform()">NEXT_PAGE</A> =0D =0D </BODY> </HTML> ------------------------------------------------------- Page2.html ------------------------------------------------------- <HTML> <HEAD> <TITLE>TEST PAGE 2</TITLE> </HEAD> <BODY ONLOAD=3D"javascript:pushforward()"> <FONT SIZE=3D"12" COLOR=3D"red">THIS IS PAGE 2</FONT> <BR><BR> <A HREF=3D"javascript:topage1()">PAGE1</A> =0D <SCRIPT LANGUAGE=3DJavaScript> function pushforward() { location.replace("Page3.html"); }//end of pushforward function function topage1() { window.location=3D'Page1.html'; }//end of topage1 function </SCRIPT> </BODY> </HTML> ------------------------------------------------------- Page3.html ------------------------------------------------------- <HTML> <HEAD> <TITLE>TEST PAGE 3</TITLE> </HEAD> <BODY> <FONT SIZE=3D"12" COLOR=3D"red">THIS IS PAGE 3</FONT> <BR><BR> <A HREF=3D"javascript:topage1()">PAGE1</A> =0D <SCRIPT LANGUAGE=3DJavaScript> function topage1() { window.location=3D'Page1.html'; }//end of topage1 function </SCRIPT> </BODY> </HTML> ------------------------------------------------------- Test.java ------------------------------------------------------- public class Test { ... public void performTest() { try { WebClient webClient =3D new= WebClient(BrowserVersion.INTERNET_EXPLORER_6_0); URL url =3D new URL("http://www.mydomain.com/Page1.html"); HtmlPage page =3D ((HtmlPage) webClient.getPage(url)); savePage(page,"Output_Page1.html"); =0D HtmlAnchor Page2_Link =3D getLinkWithText(page,"NEXT_PAGE"); page =3D ((HtmlPage) Page2_Link.click()); savePage(page,"Output_Page2.html"); }//end of try statement =0D catch(IOException except) { System.out.println("I/O Exception Occurred: " += except.getMessage()); }//end of catch statement }//end of constructor =0D =0D public HtmlAnchor getLinkWithText(HtmlPage page, String text) { java.util.List links =3D page.getAnchors(); for(int i=3D0; i<links.size(); i++) { HtmlAnchor currLink =3D ((HtmlAnchor) links.get(i)); =0D String currLink_Text =3D currLink.asText(); if(currLink_Text.indexOf(text) >=3D 0) { return currLink; }//end of if statement }//end of for loop =0D return null; }//end of getLinkWithText method =0D =0D public void savePage(HtmlPage page, String fileName) throws IOException { File outFile =3D new File(fileName); FileWriter fileOut =3D new FileWriter(outFile); PrintWriter printOut =3D new PrintWriter(fileOut); =0D printOut.print(page.getWebResponse().getContentAsString()); =0D printOut.flush(); fileOut.flush(); printOut.close(); fileOut.close(); }//end of saveResponse method ------------------------------------------------------- What happens is that I get an output of Output_Page1.html and= Output_Page2.html from the test where Output_Page1.html should be the same= as Page1.html and Output_Page2.html should be the same as Page3.html,= however Output_Page2.html is instead the same as Page3.html. Thanks again for the help. Regards, John S. Atkinson ~Smiths Aerospace~ ****************************************** The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email. ****************************************** ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=3Dick _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user ****************************************** The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email. ****************************************** |
From: Atkinson, J. (AGRE) <Joh...@sm...> - 2004-04-13 21:21:44
|
First: Thanx Brad, the select works now that I downloaded the nightly= build. Second: I immediately ran into another problem. The next page in the= series basically just propegates the inputs forward "On Load" to another= page through a javascript function that calls location.replace. I wrote a= quick example to show you what happens. Page1.html ------------------------------------------------------- <HTML> <HEAD> <TITLE>TEST PAGE 1</TITLE> </HEAD> <BODY> <FONT SIZE=3D"12" COLOR=3D"red">THIS IS PAGE 1</FONT> <FORM name=3D"Form1" method=3D"GET" action=3D"Page2.html"> <SELECT NAME=3D"select0" > <OPTION VALUE=3D"Zero" SELECTED>0</OPTION> <OPTION VALUE=3D"One">1</OPTION> <OPTION VALUE=3D"Two">2</OPTION> <OPTION VALUE=3D"Three">3</OPTION> <OPTION VALUE=3D"Four">4</OPTION> </SELECT> <BR><BR> <BR> <SCRIPT LANGUAGE=3DJavaScript> function processform() { document.forms[0].action=3D"Page2.html"; var nextElement =3D document.forms[0].elements[0]; if(nextElement.name =3D=3D "select0")=0D { var selection =3D new String(nextElement.value); alert("Selection =3D '" + selection + "'"); }//end of if statement document.forms[0].submit(); }//end of processform function </SCRIPT> </FORM> <A HREF=3D"javascript:processform()">NEXT_PAGE</A> =0D =0D </BODY> </HTML> ------------------------------------------------------- Page2.html ------------------------------------------------------- <HTML> <HEAD> <TITLE>TEST PAGE 2</TITLE> </HEAD> <BODY ONLOAD=3D"javascript:pushforward()"> <FONT SIZE=3D"12" COLOR=3D"red">THIS IS PAGE 2</FONT> <BR><BR> <A HREF=3D"javascript:topage1()">PAGE1</A> =0D <SCRIPT LANGUAGE=3DJavaScript> function pushforward() { location.replace("Page3.html"); }//end of pushforward function function topage1() { window.location=3D'Page1.html'; }//end of topage1 function </SCRIPT> </BODY> </HTML> ------------------------------------------------------- Page3.html ------------------------------------------------------- <HTML> <HEAD> <TITLE>TEST PAGE 3</TITLE> </HEAD> <BODY> <FONT SIZE=3D"12" COLOR=3D"red">THIS IS PAGE 3</FONT> <BR><BR> <A HREF=3D"javascript:topage1()">PAGE1</A> =0D <SCRIPT LANGUAGE=3DJavaScript> function topage1() { window.location=3D'Page1.html'; }//end of topage1 function </SCRIPT> </BODY> </HTML> ------------------------------------------------------- Test.java ------------------------------------------------------- public class Test { ... public void performTest() { try { WebClient webClient =3D new= WebClient(BrowserVersion.INTERNET_EXPLORER_6_0); URL url =3D new URL("http://www.mydomain.com/Page1.html"); HtmlPage page =3D ((HtmlPage) webClient.getPage(url)); savePage(page,"Output_Page1.html"); =0D HtmlAnchor Page2_Link =3D getLinkWithText(page,"NEXT_PAGE"); page =3D ((HtmlPage) Page2_Link.click()); savePage(page,"Output_Page2.html"); }//end of try statement =0D catch(IOException except) { System.out.println("I/O Exception Occurred: " += except.getMessage()); }//end of catch statement }//end of constructor =0D =0D public HtmlAnchor getLinkWithText(HtmlPage page, String text) { java.util.List links =3D page.getAnchors(); for(int i=3D0; i<links.size(); i++) { HtmlAnchor currLink =3D ((HtmlAnchor) links.get(i)); =0D String currLink_Text =3D currLink.asText(); if(currLink_Text.indexOf(text) >=3D 0) { return currLink; }//end of if statement }//end of for loop =0D return null; }//end of getLinkWithText method =0D =0D public void savePage(HtmlPage page, String fileName) throws IOException { File outFile =3D new File(fileName); FileWriter fileOut =3D new FileWriter(outFile); PrintWriter printOut =3D new PrintWriter(fileOut); =0D printOut.print(page.getWebResponse().getContentAsString()); =0D printOut.flush(); fileOut.flush(); printOut.close(); fileOut.close(); }//end of saveResponse method ------------------------------------------------------- What happens is that I get an output of Output_Page1.html and= Output_Page2.html from the test where Output_Page1.html should be the same= as Page1.html and Output_Page2.html should be the same as Page3.html,= however Output_Page2.html is instead the same as Page3.html. Thanks again for the help. Regards, John S. Atkinson ~Smiths Aerospace~ ****************************************** The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email. ****************************************** |
From: Brad C. <bc...@bo...> - 2004-04-13 19:37:46
|
At 02:18 PM 4/13/2004, Atkinson, John (AGRE) wrote: >I can't seem to get a form to propegate values from a Select Input, could >you please give me a little help? I wrote a small page to test this >functionality, so I will include this page here as well as my testing code >and the results I'm getting. If it's what I think it is then it should be fixed in the next version. Try the nightly build and see if your problem goes away. Brad C |
From: Atkinson, J. (AGRE) <Joh...@sm...> - 2004-04-13 19:21:39
|
I can't seem to get a form to propegate values from a Select Input, could= you please give me a little help? I wrote a small page to test this= functionality, so I will include this page here as well as my testing code= and the results I'm getting. Page1.html ----------------------------------------------------------------- <HTML> <HEAD> <TITLE>TEST PAGE 1</TITLE> </HEAD> <BODY> <FONT SIZE=3D"12" COLOR=3D"red">THIS IS PAGE 1</FONT> <FORM name=3D"Form1" method=3D"POST" enctype=3D"multipart/form-data"= action=3D"Page2.html"> <SELECT NAME=3D"select0" > <OPTION VALUE=3D"Zero" SELECTED>0</OPTION> <OPTION VALUE=3D"One">1</OPTION> <OPTION VALUE=3D"Two">2</OPTION> <OPTION VALUE=3D"Three">3</OPTION> <OPTION VALUE=3D"Four">4</OPTION> </SELECT> <BR><BR> <INPUT name =3D "newFile" type=3D"file" size=3D"42" value=3D""> <BR> <SCRIPT LANGUAGE=3DJavaScript> function processform() { document.forms[0].action=3D"Page2.jsp"; var nextElement =3D document.forms[0].elements[0]; if(nextElement.name =3D=3D "select0")=0D { var selection =3D new String(nextElement.value); alert("Selection =3D '" + selection + "'"); }//end of if statement document.forms[0].submit(); }//end of processform function </SCRIPT> </FORM> <A HREF=3D"javascript:processform()">PAGE2</A> =0D =0D </BODY> </HTML> ----------------------------------------------------------------- Test.java ----------------------------------------------------------------- WebClient webClient =3D new= WebClient(BrowserVersion.INTERNET_EXPLORER_6_0); URL url =3D new URL("http://edms.si.com/Windchill/jsatest/Page1.html"); HtmlPage page =3D ((HtmlPage) webClient.getPage(url)); =0D HtmlAnchor Page2_Link =3D getLinkWithText(page,"PAGE2"); page =3D ((HtmlPage) Page2_Link.click()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ public HtmlAnchor getLinkWithText(HtmlPage page, String text) { java.util.List links =3D page.getAnchors(); for(int i=3D0; i<links.size(); i++) { HtmlAnchor currLink =3D ((HtmlAnchor) links.get(i)); =0D String currLink_Text =3D currLink.asText(); if(currLink_Text.indexOf(text) >=3D 0) { return currLink; }//end of if statement }//end of for loop =0D return null; }//end of getLinkWithText method ----------------------------------------------------------------- Output ----------------------------------------------------------------- Apr 13, 2004 3:08:43 PM= com.gargoylesoftware.htmlunit.javascript.host.Window jsFunction_alert WARNING: window.alert("Selection =3D ''") no alert handler installed ----------------------------------------------------------------- Thank you in advance for your assistance in this matter. Regards, John S. Atkinson ~Smiths Aerospace~ ****************************************** The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email. ****************************************** |
From: Mike B. <mb...@Ga...> - 2004-04-07 19:33:58
|
Atkinson, John (AGRE) wrote: > I am having an error with page redirects while trying to use htmlunit. > Even when I call setRedirectEnabled(true). I searched through the > list and found that the problem had already been brought up, however I > was unable to find a resolution. I saw that there was a bug, however > it seems that the bug was Deleted without being resolved. Has this > issue been addressed yet or has a work-around been found? What is the problem you're seeing? If it's a matter of seeing the "redirects are disabled" message then check the faq. If it's something else then please describe the symptoms. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Atkinson, J. (AGRE) <Joh...@sm...> - 2004-04-07 17:37:00
|
I am having an error with page redirects while trying to use htmlunit. = Even when I call setRedirectEnabled(true). I searched through the list= and found that the problem had already been brought up, however I was= unable to find a resolution. I saw that there was a bug, however it seems= that the bug was Deleted without being resolved. Has this issue been= addressed yet or has a work-around been found? Thanx Much, John S. Atkinson ****************************************** The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email. ****************************************** |
From: Dave S. <dav...@ca...> - 2004-04-06 13:48:56
|
OK. the good news is the refresh handler works great, the bad news is the original reason for the update was to fix a javascript error where we were trying to get the field name with the [] notation, where the value in the [] is a javascript array. Now where to .. places to look ? On Mon, 2004-04-05 at 22:38, Mike Bowler wrote: > Dave Smith wrote: > > Let me know when you have a fix and I will do my part and test it for > > you.... > > I've just checked some changes into cvs. Look at setRefreshHandler() in > WebClient. > > The RefreshHandler that you specify will be called just before the page > is going to execute a refresh. If you return true then the refresh will > continue and if you return false then the refresh will be aborted. > > This presently works for refreshes triggered by meta tags and by the > refresh response header but does not work for javascript refreshes (yet). > > Let me know if this does what you need. -- Dave Smith CANdata Systems Ltd 416-493-9020 |
From: Mike B. <mb...@Ga...> - 2004-04-06 02:50:34
|
Dave Smith wrote: > Let me know when you have a fix and I will do my part and test it for > you.... I've just checked some changes into cvs. Look at setRefreshHandler() in WebClient. The RefreshHandler that you specify will be called just before the page is going to execute a refresh. If you return true then the refresh will continue and if you return false then the refresh will be aborted. This presently works for refreshes triggered by meta tags and by the refresh response header but does not work for javascript refreshes (yet). Let me know if this does what you need. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Dave S. <dav...@ca...> - 2004-04-02 15:56:43
|
OK. If you think it is serious and will get to it in the next couple of days (I have a family to feed and a business to run , so I know ..) that will be fine. I just wanted to make sure we were not dropping the ball. Let me know when you have a fix and I will do my part and test it for you.... On Fri, 2004-04-02 at 10:50, Mike Bowler wrote: > Dave Smith wrote: > > I am interested in pursuing this, where do we go from here? > > There are a couple of options: > > 1) You can make the change yourself and submit a patch. Assuming the > patch follows the guidelines then it will be added to the main codebase. > > http://htmlunit.sourceforge.net/submittingPatches.html > > 2) You can open a bug and wait for someone else to fix it. Now that > I've thought about the consequences, I'm considering this a serious bug > so it's likely to get higher priority (from me anyway, if nobody else). > > 3) You can just patch your own local copy to do what you need. This has > the drawback that the change isn't in the main codebase but it's always > an option as the code is open. > > If you decide to make code changes yourself then I'd recommend > subscribing to the developers list as well. > > I'd like to see this one fixed quickly and will try to find some time > over the next couple of days but time is tight and open source projects > take lower priority than my consulting work (which is what pays the > bills) and my family. Of course if someone wanted to hire me to work on > open source... ;-) -- Dave Smith CANdata Systems Ltd 416-493-9020 |
From: Mike B. <mb...@Ga...> - 2004-04-02 15:50:46
|
Dave Smith wrote: > I am interested in pursuing this, where do we go from here? There are a couple of options: 1) You can make the change yourself and submit a patch. Assuming the patch follows the guidelines then it will be added to the main codebase. http://htmlunit.sourceforge.net/submittingPatches.html 2) You can open a bug and wait for someone else to fix it. Now that I've thought about the consequences, I'm considering this a serious bug so it's likely to get higher priority (from me anyway, if nobody else). 3) You can just patch your own local copy to do what you need. This has the drawback that the change isn't in the main codebase but it's always an option as the code is open. If you decide to make code changes yourself then I'd recommend subscribing to the developers list as well. I'd like to see this one fixed quickly and will try to find some time over the next couple of days but time is tight and open source projects take lower priority than my consulting work (which is what pays the bills) and my family. Of course if someone wanted to hire me to work on open source... ;-) -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Dave S. <dav...@ca...> - 2004-04-01 19:51:35
|
I am interested in pursuing this, where do we go from here? On Thu, 2004-04-01 at 10:10, Dave Smith wrote: > Yah .. in my case it is the first page that they enter so we are trying > to test some basic navigation. For me there are two cases ... > > 1) Just ignore the refresh. > 2) A callback that would allow me to insert data into the database then > execute the refresh. > > It would seem that the a callback boolean executeRefresh(int time); > Would be in order .. If it returns false then do not refresh otherwise > refresh. > > I would say the default case would be to not refresh because the only > test case I can think of would involve manipulating data before the page > is refreshed. This would require notification of the refresh attempt. > > > > On Thu, 2004-04-01 at 09:58, Mike Bowler wrote: > > Dave Smith wrote: > > > > > Well I can tell you there is a meta tag for refresh but it is 60 secs. > > > It looks like this ... > > > <meta HTTP-EQUIV="REFRESH" > > > CONTENT="60;URL=https://192.168.1.2:8443/aci/FindShipmentAction.do"/> > > > Looks like you are ignoring the time in seconds ... > > > > Yes, HtmlUnit is ignoring the time and is doing an immediate refresh. > > I'd assumed, incorrectly it seems, that nobody cared about testing the > > intermediate pages and that going straight for the refresh would work > > for everyone. > > > > This will need to be revisited. I suspect that waiting for the full > > time isn't really what's desired either as that will cause the tests to > > take much longer to run. Possibly a callback mechanism so that the > > tests can be notified that they are viewing a page that will be refreshed. > > > > Suggestions are always welcome. -- Dave Smith CANdata Systems Ltd 416-493-9020 |
From: Dave S. <dav...@ca...> - 2004-04-01 15:10:29
|
Yah .. in my case it is the first page that they enter so we are trying to test some basic navigation. For me there are two cases ... 1) Just ignore the refresh. 2) A callback that would allow me to insert data into the database then execute the refresh. It would seem that the a callback boolean executeRefresh(int time); Would be in order .. If it returns false then do not refresh otherwise refresh. I would say the default case would be to not refresh because the only test case I can think of would involve manipulating data before the page is refreshed. This would require notification of the refresh attempt. On Thu, 2004-04-01 at 09:58, Mike Bowler wrote: > Dave Smith wrote: > > > Well I can tell you there is a meta tag for refresh but it is 60 secs. > > It looks like this ... > > <meta HTTP-EQUIV="REFRESH" > > CONTENT="60;URL=https://192.168.1.2:8443/aci/FindShipmentAction.do"/> > > Looks like you are ignoring the time in seconds ... > > Yes, HtmlUnit is ignoring the time and is doing an immediate refresh. > I'd assumed, incorrectly it seems, that nobody cared about testing the > intermediate pages and that going straight for the refresh would work > for everyone. > > This will need to be revisited. I suspect that waiting for the full > time isn't really what's desired either as that will cause the tests to > take much longer to run. Possibly a callback mechanism so that the > tests can be notified that they are viewing a page that will be refreshed. > > Suggestions are always welcome. -- Dave Smith CANdata Systems Ltd 416-493-9020 |
From: Mike B. <mb...@Ga...> - 2004-04-01 14:59:26
|
Dave Smith wrote: > Well I can tell you there is a meta tag for refresh but it is 60 secs. > It looks like this ... > <meta HTTP-EQUIV="REFRESH" > CONTENT="60;URL=https://192.168.1.2:8443/aci/FindShipmentAction.do"/> > Looks like you are ignoring the time in seconds ... Yes, HtmlUnit is ignoring the time and is doing an immediate refresh. I'd assumed, incorrectly it seems, that nobody cared about testing the intermediate pages and that going straight for the refresh would work for everyone. This will need to be revisited. I suspect that waiting for the full time isn't really what's desired either as that will cause the tests to take much longer to run. Possibly a callback mechanism so that the tests can be notified that they are viewing a page that will be refreshed. Suggestions are always welcome. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Dave S. <dav...@ca...> - 2004-04-01 14:16:24
|
Well I can tell you there is a meta tag for refresh but it is 60 secs. It looks like this ... <meta HTTP-EQUIV="REFRESH" CONTENT="60;URL=https://192.168.1.2:8443/aci/FindShipmentAction.do"/> Looks like you are ignoring the time in seconds ... On Thu, 2004-04-01 at 09:08, Mike Bowler wrote: > Dave Smith wrote: > > >>OK. I download last nights snapshot and it test just hangs. A thread > >>dump is below. Also why is > >>[junit] at > >>com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:575) > >> [junit] at > >>com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:535) > >> [junit] at > >>com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:453) > >> [junit] at > >>com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:325) > >> [junit] at > >>com.gargoylesoftware.htmlunit.html.HtmlPage.executeRefreshIfNeeded(HtmlPage.java:954) > >> [junit] at > >>com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:141) > >> > >>Repeated at least 20 times before the top of the dump below? There are 6 > >>.js includes and one .css include but it does not match the number of > >>occurrences of the loop. > > It would appear that a page refresh is being triggered every time the > page gets loaded and that you're consequently in an infinite loop. > Refresh can be triggered by javascript (onload handler) or a <meta> tag > or a refresh header in the http response. > > I assume that this page loads fine in a browser btw. > > The first thing I'd try would be a breakpoint or print statement in > HtmlPage.executeRefreshIfNeeded() to see what specifically has triggered > the refresh each time. -- Dave Smith CANdata Systems Ltd 416-493-9020 |