You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(10) |
Aug
(30) |
Sep
(15) |
Oct
(26) |
Nov
(12) |
Dec
(17) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(7) |
Feb
(27) |
Mar
(73) |
Apr
(17) |
May
(17) |
Jun
(78) |
Jul
(67) |
Aug
(60) |
Sep
(89) |
Oct
(140) |
Nov
(173) |
Dec
(46) |
2004 |
Jan
(39) |
Feb
(7) |
Mar
(21) |
Apr
(31) |
May
(13) |
Jun
(86) |
Jul
(14) |
Aug
(14) |
Sep
(53) |
Oct
(184) |
Nov
(186) |
Dec
(319) |
2005 |
Jan
(336) |
Feb
(274) |
Mar
(226) |
Apr
(102) |
May
(196) |
Jun
(130) |
Jul
(119) |
Aug
(143) |
Sep
(76) |
Oct
(85) |
Nov
(70) |
Dec
(159) |
2006 |
Jan
(125) |
Feb
(100) |
Mar
(80) |
Apr
(39) |
May
(55) |
Jun
(58) |
Jul
(50) |
Aug
(76) |
Sep
(55) |
Oct
(101) |
Nov
(163) |
Dec
(85) |
2007 |
Jan
(56) |
Feb
(53) |
Mar
(180) |
Apr
(221) |
May
(290) |
Jun
(199) |
Jul
(322) |
Aug
(515) |
Sep
(121) |
Oct
(297) |
Nov
(177) |
Dec
(103) |
2008 |
Jan
(516) |
Feb
(315) |
Mar
(586) |
Apr
(615) |
May
(197) |
Jun
(381) |
Jul
(390) |
Aug
(195) |
Sep
(603) |
Oct
(499) |
Nov
(622) |
Dec
(350) |
2009 |
Jan
(313) |
Feb
(338) |
Mar
(507) |
Apr
(317) |
May
(197) |
Jun
(375) |
Jul
(235) |
Aug
(424) |
Sep
(410) |
Oct
(338) |
Nov
(286) |
Dec
(306) |
2010 |
Jan
(367) |
Feb
(339) |
Mar
(371) |
Apr
(172) |
May
(233) |
Jun
(264) |
Jul
(421) |
Aug
(110) |
Sep
(218) |
Oct
(189) |
Nov
(185) |
Dec
(168) |
2011 |
Jan
(145) |
Feb
(213) |
Mar
(205) |
Apr
(64) |
May
(159) |
Jun
(67) |
Jul
(104) |
Aug
(126) |
Sep
(144) |
Oct
(106) |
Nov
(154) |
Dec
(225) |
2012 |
Jan
(111) |
Feb
(87) |
Mar
(131) |
Apr
(102) |
May
(180) |
Jun
(160) |
Jul
(412) |
Aug
(315) |
Sep
(311) |
Oct
(369) |
Nov
(464) |
Dec
(284) |
2013 |
Jan
(343) |
Feb
(165) |
Mar
(174) |
Apr
(120) |
May
(153) |
Jun
(134) |
Jul
(202) |
Aug
(105) |
Sep
(228) |
Oct
(332) |
Nov
(192) |
Dec
(219) |
2014 |
Jan
(348) |
Feb
(194) |
Mar
(189) |
Apr
(188) |
May
(297) |
Jun
(206) |
Jul
(79) |
Aug
(279) |
Sep
(111) |
Oct
(159) |
Nov
(61) |
Dec
(78) |
2015 |
Jan
(152) |
Feb
(145) |
Mar
(239) |
Apr
(223) |
May
(248) |
Jun
(296) |
Jul
(172) |
Aug
(189) |
Sep
(338) |
Oct
(217) |
Nov
(131) |
Dec
(184) |
2016 |
Jan
(118) |
Feb
(221) |
Mar
(414) |
Apr
(412) |
May
(303) |
Jun
(133) |
Jul
(129) |
Aug
(121) |
Sep
(136) |
Oct
(67) |
Nov
(89) |
Dec
(245) |
2017 |
Jan
(349) |
Feb
(90) |
Mar
(328) |
Apr
(430) |
May
(284) |
Jun
(199) |
Jul
(164) |
Aug
(120) |
Sep
(57) |
Oct
(105) |
Nov
(108) |
Dec
(146) |
2018 |
Jan
(85) |
Feb
(48) |
Mar
(97) |
Apr
(62) |
May
(64) |
Jun
(136) |
Jul
(123) |
Aug
(87) |
Sep
(17) |
Oct
(27) |
Nov
(9) |
Dec
(16) |
2019 |
Jan
(9) |
Feb
(17) |
Mar
(18) |
Apr
(14) |
May
(8) |
Jun
|
Jul
(6) |
Aug
(12) |
Sep
(5) |
Oct
|
Nov
(2) |
Dec
|
2020 |
Jan
(8) |
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2023 |
Jan
|
Feb
(6) |
Mar
(9) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mike B. <mb...@Ga...> - 2003-06-09 14:14:45
|
I did see your previous private email but I've been having email problems this morning :-( They seem to be fixed now <crossing fingers> Christian Sell wrote: > thanks for the reply. This is what I get when running "maven -o site": > > site: > [echo] Generating the maven-changelog-plugin ... > maven-changelog-plugin:report: > [echo] The Changelog is available in the online mode only. > > [echo] Generating the maven-changes-plugin ... > > BUILD FAILED > null:-1:-1: <null> No goal [maven-changes-plugin:report] > Total time: 9 seconds Try "maven -e -o site". The -e tells maven to dump out a full stack trace when something goes wrong. This is usually enough to figure out what is failing. I just tried "maven -e -o site" on my machine and it worked fine. What version of maven are you using btw? I'm currently using a version pulled from cvs sometime last week. > I also tried the ant build, but it created documentation with all > broken (empty) html files. The targets for docs in the ant build are no longer usable and should be removed. I'll add that to my todo list. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Christian S. <chr...@ne...> - 2003-06-09 13:53:43
|
Mike Bowler wrote: > > I just downloaded the CVS source and built it using maven. So far so > > good. Now I am trying to find a way to also get at the documentation > > (assuming it is available). > > > > I was not able to find anything like a "doc" target callable with > > maven (maven.. mystery). Calling the "site" target caused a CVS/SSh > > connection with sourceforge to be established under the user mbowler, > > whose password I did not have handy.. > > "maven site" is the correct command. The fact that it's hardcoded to > use my username is a problem which I'll have to fix. > > It's most likely trying to get to sourceforge to download the cvs logs. > Try building with the -o option - this tells maven that you are offline > so it shouldn't attempt to connect to the cvs repository. If you're > going to be regularly running maven "offline" then you can set a > property in build.properties to set this. I think the property is > "maven.mode.offline=true" but you'd have to double check that from the > maven docs. > > Mike, thanks for the reply. This is what I get when running "maven -o site": site: [echo] Generating the maven-changelog-plugin ... maven-changelog-plugin:report: [echo] The Changelog is available in the online mode only. [echo] Generating the maven-changes-plugin ... BUILD FAILED null:-1:-1: <null> No goal [maven-changes-plugin:report] Total time: 9 seconds I also tried the ant build, but it created documentation with all broken (empty) html files. thanks, Christian |
From: <no...@us...> - 2003-06-09 13:24:20
|
Log Message: ----------- Fixed checkstyle warnings Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit: SanityCheck.java Revision Data ------------- Index: SanityCheck.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/SanityCheck.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- SanityCheck.java 29 May 2003 12:00:46 -0000 1.2 +++ SanityCheck.java 9 Jun 2003 13:24:18 -0000 1.3 @@ -22,7 +22,7 @@ * @author <a href="mailto:mb...@Ga...">Mike Bowler</a> */ public class SanityCheck extends WebTestCase { - private static final BrowserVersion BrowserVersion_ = BrowserVersion.MOZILLA_1_0; + private static final BrowserVersion BROWSER_VERSION = BrowserVersion.MOZILLA_1_0; /** * Create an instance. @@ -49,7 +49,7 @@ * @throws Exception If something goes wrong. */ public void testYahooMail() throws Exception { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); assertInstanceOf(webClient.getPage( new URL( "http://mail.yahoo.com/" ) ), HtmlPage.class); } @@ -59,7 +59,7 @@ * @throws Exception If something goes wrong. */ public void testYahoo() throws Exception { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); assertInstanceOf( webClient.getPage( new URL( "http://yahoo.com/" ) ), HtmlPage.class ); } @@ -69,7 +69,7 @@ * @throws Exception If something goes wrong. */ public void testIBM() throws Exception { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); webClient.setRedirectEnabled( true ); final HtmlPage page = (HtmlPage)webClient.getPage( new URL( "http://www.ibm.com/" ) ); assertEquals( "http://www.ibm.com/us/", page.getWebResponse().getUrl().toExternalForm() ); @@ -81,7 +81,7 @@ * @throws Exception If something goes wrong. */ public void testAlphaWorks() throws Exception { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); assertInstanceOf(webClient.getPage(new URL( "http://www.alphaworks.ibm.com" ) ), HtmlPage.class); } @@ -91,7 +91,7 @@ * @throws Exception If something goes wrong. */ public void testCNN() throws Exception { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); assertInstanceOf( webClient.getPage( new URL( "http://www.cnn.com" ) ), HtmlPage.class); } @@ -101,7 +101,7 @@ * @throws Exception If something goes wrong. */ public void testToyotaCanada() throws Exception { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); assertInstanceOf(webClient.getPage( new URL( "http://www.toyota.ca" ) ), HtmlPage.class); } @@ -112,9 +112,11 @@ */ public void testSourceForge_secure() throws Exception { try { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); webClient.setPrintContentOnFailingStatusCode(true); - assertInstanceOf( webClient.getPage( new URL( "https://sourceforge.net/projects/htmlunit/" ) ), HtmlPage.class ); + assertInstanceOf( + webClient.getPage( new URL( "https://sourceforge.net/projects/htmlunit/" ) ), + HtmlPage.class ); } catch( final MalformedURLException e ) { System.out.println("Skipping https test: "+getName()); @@ -128,7 +130,7 @@ */ public void testYahooLogin_secure() throws Exception { try { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); final HtmlPage page = (HtmlPage)webClient.getPage( new URL( "https://login.yahoo.com/" ) ); final HtmlForm form = page.getFormByName("login_form"); assertNotNull(form); @@ -144,7 +146,7 @@ * @throws Exception If something goes wrong. */ public void testAmazonCanada() throws Exception { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); assertInstanceOf( webClient.getPage( new URL( "http://www.amazon.ca/" ) ), HtmlPage.class ); } @@ -154,7 +156,7 @@ * @throws Exception If something goes wrong. */ public void testCnnAfterHours() throws Exception { - final WebClient webClient = new WebClient(BrowserVersion_); + final WebClient webClient = new WebClient(BROWSER_VERSION); assertInstanceOf( webClient.getPage( new URL( "http://money.cnn.com/markets/afterhours/" ) ), HtmlPage.class ); } |
From: <no...@us...> - 2003-06-09 13:23:40
|
Log Message: ----------- Fixed checkstyle warnings Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host: DocumentTest.java StyleTest.java /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host: Window.java HTMLElement.java Document.java /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript: JavaScriptEngine.java /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/html: HtmlPage.java /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit: ScriptEngine.java Revision Data ------------- Index: Window.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host/Window.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- Window.java 28 May 2003 23:29:56 -0000 1.18 +++ Window.java 9 Jun 2003 13:23:07 -0000 1.19 @@ -464,7 +464,8 @@ final HtmlPage page = (HtmlPage)webWindow_.getEnclosedPage(); if ( newValue instanceof Function ) { page.setOnLoadAttribute( newValue ); - } else { + } + else { getLog().error( "Invalid value set to window.onload. Value class: " + newValue.getClass () ); } } Index: HTMLElement.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host/HTMLElement.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- HTMLElement.java 28 May 2003 23:29:56 -0000 1.10 +++ HTMLElement.java 9 Jun 2003 13:23:07 -0000 1.11 @@ -141,10 +141,12 @@ // Append the child to the parent element if ( parentXmlNode.appendChild(childXmlNode) == null ) { appendedChild = null; - } else { + } + else { appendedChild = childObject; } - } else { + } + else { appendedChild = null; } return appendedChild; @@ -163,8 +165,9 @@ if ( parentXmlNode == null ) { return null; } - if ( ! ( parentXmlNode instanceof Element ) ) { - getLog().warn( "Parent XML node is not an Element. Only Elements are currently supported. Parent class: " + parentXmlNode.getClass() ); + if ( ( parentXmlNode instanceof Element ) == false ) { + getLog().warn( "Parent XML node is not an Element. Only Elements are currently supported. Parent class: " + + parentXmlNode.getClass() ); return null; } final Element parentXmlElement = (Element) parentXmlNode; Index: Document.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/host/Document.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- Document.java 27 May 2003 21:23:10 -0000 1.19 +++ Document.java 9 Jun 2003 13:23:07 -0000 1.20 @@ -276,7 +276,8 @@ * @return the list of elements */ public Object jsFunction_getElementsByTagName( final String tagName ) { - final List list = getHtmlElementOrDie().getPage().getHtmlElementsByTagNames(Collections.singletonList(tagName.toLowerCase())); + final HtmlPage page = getHtmlElementOrDie().getPage(); + final List list = page.getHtmlElementsByTagNames(Collections.singletonList(tagName.toLowerCase())); final ListIterator iterator = list.listIterator(); while(iterator.hasNext()) { final HtmlElement htmlElement = (HtmlElement)iterator.next(); Index: HtmlPage.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlPage.java,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- HtmlPage.java 27 May 2003 23:23:27 -0000 1.44 +++ HtmlPage.java 9 Jun 2003 13:23:08 -0000 1.45 @@ -1057,7 +1057,8 @@ } executeJavaScriptIfPossible(onLoadScript, "body.onLoad", false, null); } - } else { + } + else { final ScriptEngine engine = getWebClient().getScriptEngine(); engine.callFunction( this, onLoad, null, new Object [0], null ); } Index: DocumentTest.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/DocumentTest.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- DocumentTest.java 2 Jun 2003 13:02:07 -0000 1.11 +++ DocumentTest.java 9 Jun 2003 13:23:06 -0000 1.12 @@ -870,7 +870,9 @@ webClient.setWebConnection( webConnection ); final String firstContent - = "<html><body><script type=\"text/javascript\">alert(document.getElementsByTagName('script').length);</script></body></html>"; + = "<html><body><script type=\"text/javascript\">" + + "alert(document.getElementsByTagName('script').length);" + + "</script></body></html>"; webConnection.setResponse( new URL("http://first"), firstContent, 200, "OK", "text/html", Collections.EMPTY_LIST ); Index: StyleTest.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/StyleTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- StyleTest.java 7 May 2003 10:38:53 -0000 1.1 +++ StyleTest.java 9 Jun 2003 13:23:06 -0000 1.2 @@ -71,7 +71,8 @@ + " style.color = 'pink';\n" + " alert(style.color);\n" + "}\n</script></head>" - + "<body onload='doTest()'><div id='div1' style='color: black;background:blue;foo:bar'>foo</div></body></html>"; + + "<body onload='doTest()'>" + + "<div id='div1' style='color: black;background:blue;foo:bar'>foo</div></body></html>"; webConnection.setResponse( new URL("http://first"), firstContent, 200, "OK", "text/html", Collections.EMPTY_LIST ); Index: JavaScriptEngine.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/javascript/JavaScriptEngine.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- JavaScriptEngine.java 27 May 2003 23:23:27 -0000 1.15 +++ JavaScriptEngine.java 9 Jun 2003 13:23:07 -0000 1.16 @@ -147,7 +147,7 @@ * @return The JavaScript execution scope. */ private Scriptable getScope( - final PageInfo pageInfo, final HtmlElement htmlElementScope ) { + final PageInfo pageInfo, final HtmlElement htmlElementScope ) { Scriptable scope; if( htmlElementScope == null ) { @@ -232,7 +232,12 @@ * @return The result of the function call. */ public Object callFunction( - final HtmlPage htmlPage, final Object javaScriptFunction, final Object thisObject, Object [] args, final HtmlElement htmlElementScope ) { + final HtmlPage htmlPage, + final Object javaScriptFunction, + final Object thisObject, + final Object [] args, + final HtmlElement htmlElementScope ) { + final PageInfo pageInfo = getPageInfo(htmlPage); final Scriptable scope = getScope( pageInfo, htmlElementScope ); Index: ScriptEngine.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/ScriptEngine.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- ScriptEngine.java 27 May 2003 23:23:27 -0000 1.9 +++ ScriptEngine.java 9 Jun 2003 13:23:08 -0000 1.10 @@ -89,7 +89,11 @@ * @return The result of the function call. */ public abstract Object callFunction( - final HtmlPage htmlPage, final Object javaScriptFunction, final Object thisObject, Object [] args, final HtmlElement htmlElementScope ); + final HtmlPage htmlPage, + final Object javaScriptFunction, + final Object thisObject, + final Object [] args, + final HtmlElement htmlElementScope ); /** |
From: Mike B. <mb...@Ga...> - 2003-06-09 10:11:01
|
> I just downloaded the CVS source and built it using maven. So far so > good. Now I am trying to find a way to also get at the documentation > (assuming it is available). > > I was not able to find anything like a "doc" target callable with > maven (maven.. mystery). Calling the "site" target caused a CVS/SSh > connection with sourceforge to be established under the user mbowler, > whose password I did not have handy.. "maven site" is the correct command. The fact that it's hardcoded to use my username is a problem which I'll have to fix. It's most likely trying to get to sourceforge to download the cvs logs. Try building with the -o option - this tells maven that you are offline so it shouldn't attempt to connect to the cvs repository. If you're going to be regularly running maven "offline" then you can set a property in build.properties to set this. I think the property is "maven.mode.offline=true" but you'd have to double check that from the maven docs. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Christian S. <chr...@ne...> - 2003-06-08 22:59:05
|
Hello, I just downloaded the CVS source and built it using maven. So far so good. Now I am trying to find a way to also get at the documentation (assuming it is available). I was not able to find anything like a "doc" target callable with maven (maven.. mystery). Calling the "site" target caused a CVS/SSh connection with sourceforge to be established under the user mbowler, whose password I did not have handy.. Is there a way to build/get documentation for HtmlUnit from CVS? thanks, Christian |
From: SourceForge.net <no...@so...> - 2003-06-07 07:38:47
|
Bugs item #750487, was opened at 2003-06-07 07:38 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=750487&group_id=47038 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Suheal Hanjgikar (suheal) Assigned to: Nobody/Anonymous (nobody) Summary: The undefined value has no properties Initial Comment: Tried to write a sample test program using HtmlUnit. Unfortunately it is throwing an exception. The bug 727718 mentions the same problem. I have attached the source code of the sample test program. Here is the exception it throws: I think the Redirect statement can be safely neglected. The exception that it throws. /****************************************** ****************************************** ***********/ [INFO] HttpMethod - -Redirect requested but followRedirects is disabled com.gargoylesoftware.htmlunit.ScriptException: The undefined value has no properties. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngin e.execute(JavaScriptEngine.java:199) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJav aScriptIfPossible(HtmlPage.java:770) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeBod yOnLoadHandlerIfNeeded(HtmlPage.java:900) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize (HtmlPage.java:134) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:322) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:242) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:186) at testhtml.main(testhtml.java:23) /****************************************** ****************************************** ***********/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=750487&group_id=47038 |
From: SourceForge.net <no...@so...> - 2003-06-06 12:15:30
|
Feature Requests item #750034, was opened at 2003-06-06 14:15 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448269&aid=750034&group_id=47038 Category: Interface Improvements (example) Group: Next Release (example) Status: Open Priority: 5 Submitted By: JHoltman (jholtman) Assigned to: Nobody/Anonymous (nobody) Summary: Callback on window closed event Initial Comment: Please add a "window was closed" event. E.g. via a callback method. Example: like the window opened event and the content changed event. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448269&aid=750034&group_id=47038 |
From: Mike B. <mb...@Ga...> - 2003-06-05 11:31:13
|
Are you using 1.2.2 (the last released version) or the code in CVS? Tom Hamilton wrote: > I have tried different approaches - like calling form.submit() in the > test harness - but this just does a javascript form submit(). If I do > this I get a different exception. > > java.lang.NullPointerException > at > org.apache.commons.httpclient.HttpMethodBase.getResponseBody( > HttpMethodBase.java:670) This is happening inside commons-httpclient and it's quite possible that this is already fixed. The version of commons-httpclient that ships with HtmlUnit-1.2.2 is alpha3. They recently released beta1 which fixes a large number of bugs and may fix this problem. Please try commons-httpclient-beta1 which can be found at: http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0-beta1.jar -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Tom H. <Tom...@fu...> - 2003-06-05 10:52:39
|
Ok. What I have is a form that is submitted via an anchor tag. The tag calls javascript:formName.submit() The exception I get here is this: Exception class=[org.mozilla.javascript.JavaScriptException] com.gargoylesoftware.htmlunit.ScriptException: java.lang.NullPointerException at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:196) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:767) at com.gargoylesoftware.htmlunit.html.HtmlAnchor.click(HtmlAnchor.java:68) I have tried different approaches - like calling form.submit() in the test harness - but this just does a javascript form submit(). If I do this I get a different exception. java.lang.NullPointerException at org.apache.commons.httpclient.HttpMethodBase.getResponseBody(HttpMethodBase. java:670) at org.apache.commons.httpclient.methods.GetMethod.getResponseBody(GetMethod.ja va:293) at com.gargoylesoftware.htmlunit.HttpWebConnection.makeWebResponse(HttpWebConne ction.java:302) at com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnectio n.java:106) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:928) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:305) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:242) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:137) What I am actually getting back from the server is a 100 - Continue - presumably with no body. What is actually happening is that the page should be redirected to another page (struts forward). So I'm a bit confused as why I am getting errors? You help is most welcome.... -----Original Message----- From: Mike Bowler [mailto:mb...@Ga...] Sent: 05 June 2003 10:58 To: 'htm...@li...' Subject: Re: [HtmlUnit] Error when submitting a form based on javascript.submit() Tom Hamilton wrote: > EcmaError: lineNumber=[1] column=[0] lineSource=[GargoyleWrapper0()] > name=[TypeError] sourceName=[Wrapper definition for javascript url] > message=[com.gargoylesoftware.htmlunit.javascript.host.Submit@3a5c7a > is not a function.] errorObject=[TypeError: > com.gargoylesoftware.htmlunit.javascript.host.Submit@3a5c7a is not a > function.] There isn't enough information here to be sure but I'd guess that this form contains an element with the name "submit". HtmlUnit is then finding that element before it finds the submit() method and is trying to execute it. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ HtmlUnit-develop mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-develop ___________________________________________________________________________ This message is intended solely for the use of the individual or organisation to whom it is addressed and may contain confidential or copyrighted information. If you have received this message in error, please reply to the originator and delete it immediately. If you are not the intended recipient, you should not use, copy, alter, disseminate, print or disclose the contents of this message. Information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of EFSS Ltd. or its affiliates. EFSS Ltd. accepts no responsibility for loss or damage arising from its use, including damage from viruses. Note: Internet e-mails are not necessarily secure. EFSS Ltd. does not accept responsibility for changes made to this message after it was sent. ___________________________________________________________________________ |
From: Mike B. <mb...@Ga...> - 2003-06-05 09:58:00
|
Tom Hamilton wrote: > EcmaError: lineNumber=[1] column=[0] lineSource=[GargoyleWrapper0()] > name=[TypeError] sourceName=[Wrapper definition for javascript url] > message=[com.gargoylesoftware.htmlunit.javascript.host.Submit@3a5c7a > is not a function.] errorObject=[TypeError: > com.gargoylesoftware.htmlunit.javascript.host.Submit@3a5c7a is not a > function.] There isn't enough information here to be sure but I'd guess that this form contains an element with the name "submit". HtmlUnit is then finding that element before it finds the submit() method and is trying to execute it. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Tom H. <Tom...@fu...> - 2003-06-05 08:02:23
|
Can anyone help with this? I have a form - it happens to be the login page! Here is the anchor that I am trying to use: <a name="submit" href="javascript:document.authenticateForm.submit()" onmouseover="imgOn('submitMe');" onmouseout="imgOff('submitMe');"><img name="submitMe" src="/images/nbk/imagesLang/submit_en_off.gif" alt="SUBMIT" border="0"></a> Here is the test code that I am running: // get the submit anchor HtmlAnchor submit = page.getAnchorByName("submit"); // now submit the page HtmlPage page2 = (HtmlPage)submit.click(); When I try and submit this page I get the following stack trace. ======= EXCEPTION START ======== EcmaError: lineNumber=[1] column=[0] lineSource=[GargoyleWrapper0()] name=[TypeError] sourceName=[Wrapper definition for javascript url] message=[com.gargoylesoftware.htmlunit.javascript.host.Submit@3a5c7a is not a function.] errorObject=[TypeError: com.gargoylesoftware.htmlunit.javascript.host.Submit@3a5c7a is not a function.] com.gargoylesoftware.htmlunit.ScriptException: com.gargoylesoftware.htmlunit.javascript.host.Submit@3a5c7a is not a function. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:199) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:767) at com.gargoylesoftware.htmlunit.html.HtmlAnchor.click(HtmlAnchor.java:68) at test.site.testHomePage.testNBKLoginForWMO(testHomePage.java:181) at java.lang.reflect.Method.invoke(Native Method) at junit.framework.TestCase.runTest(TestCase.java:166) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:131) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:360) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. java:246) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner .java:146) Enclosed exception: TypeError: com.gargoylesoftware.htmlunit.javascript.host.Submit@3a5c7a is not a function. (Wrapper definition for javascript url; line 1) at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:597) at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:557) at org.mozilla.javascript.NativeGlobal.typeError1(NativeGlobal.java:567) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1182) at org.mozilla.javascript.gen.c19.call(Wrapper definition for javascript url:1) at org.mozilla.javascript.optimizer.OptRuntime.callSimple(OptRuntime.java:275) at org.mozilla.javascript.gen.c21.call(javascript url:1) at org.mozilla.javascript.gen.c21.exec(javascript url) at org.mozilla.javascript.Context.evaluateReader(Context.java:820) at org.mozilla.javascript.Context.evaluateString(Context.java:784) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:191) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:767) at com.gargoylesoftware.htmlunit.html.HtmlAnchor.click(HtmlAnchor.java:68) at test.site.testHomePage.testNBKLoginForWMO(testHomePage.java:181) at java.lang.reflect.Method.invoke(Native Method) at junit.framework.TestCase.runTest(TestCase.java:166) at junit.framework.TestCase.runBare(TestCase.java:140) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:131) at junit.framework.TestSuite.runTest(TestSuite.java:173) at junit.framework.TestSuite.run(TestSuite.java:168) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:360) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. java:246) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner .java:146) == CALLING JAVASCRIPT == GargoyleWrapper0() ======= EXCEPTION END ======== ___________________________________________________________________________ This message is intended solely for the use of the individual or organisation to whom it is addressed and may contain confidential or copyrighted information. If you have received this message in error, please reply to the originator and delete it immediately. If you are not the intended recipient, you should not use, copy, alter, disseminate, print or disclose the contents of this message. Information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of EFSS Ltd. or its affiliates. EFSS Ltd. accepts no responsibility for loss or damage arising from its use, including damage from viruses. Note: Internet e-mails are not necessarily secure. EFSS Ltd. does not accept responsibility for changes made to this message after it was sent. ___________________________________________________________________________ |
From: <no...@us...> - 2003-06-03 18:05:25
|
Log Message: ----------- sorry for the spam, all done now Removed Files: ------------- /cvsroot/htmlunit/htmlunit: test.activitymail Revision Data ------------- --- test.activitymail DELETED --- |
From: <no...@us...> - 2003-06-03 18:05:11
|
Log Message: ----------- and finally Modified Files: -------------- /cvsroot/htmlunit/htmlunit: test.activitymail Revision Data ------------- Index: test.activitymail =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/test.activitymail,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- test.activitymail 3 Jun 2003 18:02:13 -0000 1.1 +++ test.activitymail 3 Jun 2003 18:05:10 -0000 1.2 @@ -1,2 +1,3 @@ testing activitymail +testing 123 |
From: <no...@us...> - 2003-06-03 18:04:52
|
Log Message: ----------- these don't go to the list Modified Files: -------------- /cvsroot/htmlunit/CVSROOT: loginfo Revision Data ------------- Index: loginfo =================================================================== RCS file: /cvsroot/htmlunit/CVSROOT/loginfo,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- loginfo 3 Jun 2003 18:03:58 -0000 1.9 +++ loginfo 3 Jun 2003 18:04:51 -0000 1.10 @@ -29,5 +29,5 @@ #CVSROOT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail %{sVv} mb...@us... #DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail %{sVv} htm...@li... -CVSROOT $CVSROOT/CVSROOT/activitymail -u nobody -cdpgf %{sVv} -t htm...@li... -m"CVSROOT Commit: " +CVSROOT $CVSROOT/CVSROOT/activitymail -u nobody -cdpgf %{sVv} -t mb...@us... -m"CVSROOT Commit: " DEFAULT $CVSROOT/CVSROOT/activitymail -u nobody -cdpgf %{sVv} -t htm...@li... -m"CVS Commit: " |
From: <no...@us...> - 2003-06-03 18:03:59
|
Log Message: ----------- oopsie :) Modified Files: -------------- /cvsroot/htmlunit/CVSROOT: loginfo Revision Data ------------- Index: loginfo =================================================================== RCS file: /cvsroot/htmlunit/CVSROOT/loginfo,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- loginfo 3 Jun 2003 17:18:31 -0000 1.8 +++ loginfo 3 Jun 2003 18:03:58 -0000 1.9 @@ -30,4 +30,4 @@ #DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail %{sVv} htm...@li... CVSROOT $CVSROOT/CVSROOT/activitymail -u nobody -cdpgf %{sVv} -t htm...@li... -m"CVSROOT Commit: " -DEFUALT $CVSROOT/CVSROOT/activitymail -u nobody -cdpgf %{sVv} -t htm...@li... -m"CVS Commit: " +DEFAULT $CVSROOT/CVSROOT/activitymail -u nobody -cdpgf %{sVv} -t htm...@li... -m"CVS Commit: " |
From: <mb...@us...> - 2003-06-03 14:23:05
|
Update of /cvsroot/htmlunit/htmlunit In directory sc8-pr-cvs1:/tmp/cvs-serv13437 Modified Files: project.xml Log Message: The url in "issue tracker" wasn't been escaped properly which was causing maven some grief. Index: project.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/project.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** project.xml 2 Jun 2003 17:39:56 -0000 1.19 --- project.xml 3 Jun 2003 14:23:01 -0000 1.20 *************** *** 23,31 **** <url>http://htmlunit.sourceforge.net</url> ! <issueTrackingUrl>http://sourceforge.net/tracker/?group_id=47038&atid=448266</issueTrackingUrl> ! <siteAddress>http://htmlunit.sourceforge.net</siteAddress> ! <siteDirectory></siteDirectory> <distributionDirectory></distributionDirectory> <repository> <connection>scm:cvs:ext:mb...@cv...:/cvsroot/htmlunit:htmlunit</connection> --- 23,32 ---- <url>http://htmlunit.sourceforge.net</url> ! <issueTrackingUrl>http://sourceforge.net/tracker/?group_id=47038&atid=448266</issueTrackingUrl> ! <siteAddress>htmlunit.sourceforge.net</siteAddress> ! <siteDirectory>/home/groups/h/ht/htmlunit/htdocs</siteDirectory> <distributionDirectory></distributionDirectory> + <repository> <connection>scm:cvs:ext:mb...@cv...:/cvsroot/htmlunit:htmlunit</connection> *************** *** 50,54 **** <mailingLists> ! <mailingList> <name>HtmlUnit Users</name> <subscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</subscribe> --- 51,55 ---- <mailingLists> ! <mailingList> <name>HtmlUnit Users</name> <subscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</subscribe> *************** *** 56,60 **** <archive>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</archive> </mailingList> ! <mailingList> <name>HtmlUnit Developers</name> <subscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-develop</subscribe> --- 57,61 ---- <archive>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</archive> </mailingList> ! <mailingList> <name>HtmlUnit Developers</name> <subscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-develop</subscribe> *************** *** 62,67 **** <archive>http://lists.sourceforge.net/lists/listinfo/htmlunit-develop</archive> </mailingList> - </mailingList> - </mailingLists> --- 63,66 ---- |
From: Mike B. <mb...@Ga...> - 2003-06-03 14:21:13
|
The HtmlUnit website is now being built with maven. Please note that this documentation is for the code in CVS, not the code that was last released. http://htmlunit.sourceforge.net/ All the documentation from the old site has been ported over to the maven format although there are still a couple of spots that need to be cleaned up. The interesting stuff that maven provides for free are under the "Project Info" and "Project Reports" sections (left column at the bottom. Information about maven can be found at http://maven.apache.org Feedback is 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: Mike B. <mb...@Ga...> - 2003-06-03 11:40:58
|
Tom Hamilton wrote: > I'm getting a problem when setting up HtmlUnit. The following stack > trace appears. > > javax.net.ssl.SSLHandshakeException: FATAL Alert:HANDSHAKE_FAILURE - > The handshake handler was unable to negotiate an acceptable set of > security parameters. > at com.certicom.tls.b.e.a(Unknown Source) > at com.certicom.tls.b.e.a(Unknown Source) > at com.certicom.tls.d.b.o.do(Unknown Source) > at com.certicom.tls.d.b.o.aB(Unknown Source) > etc This is a JSSE problem and it's been a long time since I've configured JSSE so I don't know how much help I can be. Are you using a purchased certificate on the server or a "self signed" certificate? If it's self-signed then you'll have to add that certificate to your local keystore on the machine that JSSE is running on. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Tom H. <Tom...@fu...> - 2003-06-03 11:32:41
|
I'm getting a problem when setting up HtmlUnit. The following stack trace appears. javax.net.ssl.SSLHandshakeException: FATAL Alert:HANDSHAKE_FAILURE - The handshake handler was unable to negotiate an acceptable set of security parameters. at com.certicom.tls.b.e.a(Unknown Source) at com.certicom.tls.b.e.a(Unknown Source) at com.certicom.tls.d.b.o.do(Unknown Source) at com.certicom.tls.d.b.o.aB(Unknown Source) etc I have downloaded the JSSE and installed it. Has anyone come accross this at all? BTW I'm using Eclipse and WebLogic 6.1 Thanks, Tom ___________________________________________________________________________ This message is intended solely for the use of the individual or organisation to whom it is addressed and may contain confidential or copyrighted information. If you have received this message in error, please reply to the originator and delete it immediately. If you are not the intended recipient, you should not use, copy, alter, disseminate, print or disclose the contents of this message. Information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of EFSS Ltd. or its affiliates. EFSS Ltd. accepts no responsibility for loss or damage arising from its use, including damage from viruses. Note: Internet e-mails are not necessarily secure. EFSS Ltd. does not accept responsibility for changes made to this message after it was sent. ___________________________________________________________________________ |
From: SourceForge.net <no...@so...> - 2003-06-03 10:04:50
|
Support Requests item #747350, was opened at 2003-06-02 02:56 Message generated for change (Settings changed) made by mbowler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747350&group_id=47038 Category: None Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Mike Bowler (mbowler) Summary: Using HtmlImageInput Initial Comment: Hello, Can any one tell me how to use the HtmlImageInput to submit the form? I can read the form from the web. e.g final HtmlForm form = page1.getFormByName ("loginform"); final HtmlTextInput userName = (HtmlTextInput) form.getInputByName("txtLoginName"); userName.setValueAttribute("my name"); but the following i'm not sure is it the right way to get the object instance? assumption the image name called "Login" form method = post, action='login.asp" the image tag like <input type="image" name="Login" src="../images/content/login_button.gif" value="Login" border="0" WIDTH="56" HEIGHT="16"> when click it will submit the form. In general the web page is host on 3rd party location and they will not give any support for this instance. final HtmlImageInput login = (HtmlImageInput) form.getInputByName("Login"); Since the login is a image. and i try to get the response from the page. final HtmlPage page2 = (HtmlPage)login.click(); WebResponse resp1 = page2.getWebResponse(); it will throw the exception but the error message is null. Can anyone help me? Many thanks..... Jeff ---------------------------------------------------------------------- Comment By: Jeff TSUI (ncjt) Date: 2003-06-03 00:25 Message: Logged In: YES user_id=790739 It's ok after using the commons-httpclient-2.0-beta1.jar. Many Thanks ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-06-02 10:54 Message: Logged In: YES user_id=46756 The exception is occuring inside commons-httpclient. The version of httpclient that shipped with HtmlUnit 1.2.2 was 2.0alpha3. They have just released 2.0beta1 which fixes a large number of bugs. Please try beta1 to see if this fixes your problem. http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0-beta1.jar ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2003-06-02 10:40 Message: Logged In: NO The stack trace are java.lang.NullPointerException at org.apache.commons.httpclient.HttpMethodBase.getRespons eBody(HttpMethodBase.java:670) at org.apache.commons.httpclient.methods.GetMethod.getResp onseBody(GetMethod.java:293) at com.gargoylesoftware.htmlunit.HttpWebConnection.makeWeb Response(HttpWebConnection.java:302) at com.gargoylesoftware.htmlunit.HttpWebConnection.getRespo nse(HttpWebConnection.java:106) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse (WebClient.java:928) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:305) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:242) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit (HtmlForm.java:137) at com.gargoylesoftware.htmlunit.html.HtmlImageInput.doClickA ction(HtmlImageInput.java:60) at com.gargoylesoftware.htmlunit.html.HtmlInput.click (HtmlInput.java:87) at com.gargoylesoftware.htmlunit.html.HtmlImageInput.click (HtmlImageInput.java:47) at testHtmlUnit.main(testHtmlUnit.java:64) Many thanks ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-06-02 06:02 Message: Logged In: YES user_id=46756 Please include the stack trace ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747350&group_id=47038 |
From: SourceForge.net <no...@so...> - 2003-06-03 04:41:17
|
Support Requests item #747928, was opened at 2003-06-03 12:41 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747928&group_id=47038 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jeff TSUI (ncjt) Assigned to: Nobody/Anonymous (nobody) Summary: form submition with list of form name are the same. Initial Comment: Does any one try to submit the page with list of from name are the same the html. My task to try to simulate the user click on the delete or maintain image button. Here are my codes to try to submit the delete. res1 = page4.getWebResponse(); final HtmlForm formDel = page4.getFormByName ("form6"); formDel.setActionAttribute("eventdelete.asp"); formDel.setMethodAttribute("post"); final HtmlHiddenInput eventId = (HtmlHiddenInput) formDel.getInputByName("eventId"); eventId.setValueAttribute("734124"); final HtmlImageInput deleteBtn = (HtmlImageInput) formDel.getInputByName("Delete"); final HtmlPage page5 = (HtmlPage)deleteBtn.click(); res1 = page5.getWebResponse(); the result will print out "Form select error " form the 3 party program. In general the 3 party will not provide any support for this instance. So that why i raise my help over here. Many thanks for your attentation. Jeff ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747928&group_id=47038 |
From: SourceForge.net <no...@so...> - 2003-06-03 04:25:13
|
Support Requests item #747350, was opened at 2003-06-02 14:56 Message generated for change (Comment added) made by ncjt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747350&group_id=47038 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Mike Bowler (mbowler) Summary: Using HtmlImageInput Initial Comment: Hello, Can any one tell me how to use the HtmlImageInput to submit the form? I can read the form from the web. e.g final HtmlForm form = page1.getFormByName ("loginform"); final HtmlTextInput userName = (HtmlTextInput) form.getInputByName("txtLoginName"); userName.setValueAttribute("my name"); but the following i'm not sure is it the right way to get the object instance? assumption the image name called "Login" form method = post, action='login.asp" the image tag like <input type="image" name="Login" src="../images/content/login_button.gif" value="Login" border="0" WIDTH="56" HEIGHT="16"> when click it will submit the form. In general the web page is host on 3rd party location and they will not give any support for this instance. final HtmlImageInput login = (HtmlImageInput) form.getInputByName("Login"); Since the login is a image. and i try to get the response from the page. final HtmlPage page2 = (HtmlPage)login.click(); WebResponse resp1 = page2.getWebResponse(); it will throw the exception but the error message is null. Can anyone help me? Many thanks..... Jeff ---------------------------------------------------------------------- Comment By: Jeff TSUI (ncjt) Date: 2003-06-03 12:25 Message: Logged In: YES user_id=790739 It's ok after using the commons-httpclient-2.0-beta1.jar. Many Thanks ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-06-02 22:54 Message: Logged In: YES user_id=46756 The exception is occuring inside commons-httpclient. The version of httpclient that shipped with HtmlUnit 1.2.2 was 2.0alpha3. They have just released 2.0beta1 which fixes a large number of bugs. Please try beta1 to see if this fixes your problem. http://www.ibiblio.org/maven/commons-httpclient/jars/commons-httpclient-2.0-beta1.jar ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2003-06-02 22:40 Message: Logged In: NO The stack trace are java.lang.NullPointerException at org.apache.commons.httpclient.HttpMethodBase.getRespons eBody(HttpMethodBase.java:670) at org.apache.commons.httpclient.methods.GetMethod.getResp onseBody(GetMethod.java:293) at com.gargoylesoftware.htmlunit.HttpWebConnection.makeWeb Response(HttpWebConnection.java:302) at com.gargoylesoftware.htmlunit.HttpWebConnection.getRespo nse(HttpWebConnection.java:106) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse (WebClient.java:928) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:305) at com.gargoylesoftware.htmlunit.WebClient.getPage (WebClient.java:242) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit (HtmlForm.java:137) at com.gargoylesoftware.htmlunit.html.HtmlImageInput.doClickA ction(HtmlImageInput.java:60) at com.gargoylesoftware.htmlunit.html.HtmlInput.click (HtmlInput.java:87) at com.gargoylesoftware.htmlunit.html.HtmlImageInput.click (HtmlImageInput.java:47) at testHtmlUnit.main(testHtmlUnit.java:64) Many thanks ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-06-02 18:02 Message: Logged In: YES user_id=46756 Please include the stack trace ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=747350&group_id=47038 |
From: Mike B. <mb...@Ga...> - 2003-06-02 17:51:00
|
As you've probably already noticed, cvs commit message are now being directed to this list. New bug reports/feature requests should also be showing up here automatically as well but I haven't experimented with that yet. If anyone knows how to pretty up the title of the commit messages then please let me know. I tried a couple of things but everytime I changed the filter from the default value, it stopped sending out notifications. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: <mb...@us...> - 2003-06-02 17:23:17
|
Update of /cvsroot/htmlunit/htmlunit In directory sc8-pr-cvs1:/tmp/cvs-serv15432 Modified Files: project.xml Log Message: Added mailing list information Index: project.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/project.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** project.xml 28 May 2003 20:18:29 -0000 1.17 --- project.xml 2 Jun 2003 17:23:12 -0000 1.18 *************** *** 50,53 **** --- 50,67 ---- <mailingLists> + <mailingList> + <name>HtmlUnit Users</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</unsubscribe> + <archive>http://lists.sourceforge.net/lists/listinfo/htmlunit-user</archive> + </mailingList> + <mailingList> + <name>HtmlUnit Developers</name> + <subscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-develop</subscribe> + <unsubscribe>http://lists.sourceforge.net/lists/listinfo/htmlunit-develop</unsubscribe> + <archive>http://lists.sourceforge.net/lists/listinfo/htmlunit-develop</archive> + </mailingList> + </mailingList> + </mailingLists> |