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: Your G. <yo...@br...> - 2004-06-25 16:44:08
|
Try doing mainFrameset = main.getFrames(); again after you click Other than that I can't tell much without seeing the HTML Brad C --- Elise Lebeau <el...@ch...> wrote: > First, let me preface this with a comment that the code I am testing ain't > pretty. They're spitting out pages, within frames, by using document.write > for the whole thing, with some JSP sprinkled all over. Oh, and it's a MVC > model. > So let me try to narrow down the problem: > > I have 4 frames. All of which have a src=blank.html. Then a form is > submitted and one of the frames is updated with information. The problem i > am running into is that I always end up in blank.html for all the frames. > > This is the test case: > final WebClient webClient = new WebClient(); > final URL url = new > URL("http://127.0.0.1:8080/cudl/cudlQA.html"); > > // Get the first page > final HtmlPage main = (HtmlPage)webClient.getPage(url); > List mainFrameset = main.getFrames(); > final HtmlFrame testFrame = (HtmlFrame)mainFrameset.get(1); > final HtmlPage test = (HtmlPage)testFrame.getEnclosedPage(); > > //this setups some fields in the form > ((HtmlAnchor) test.getAnchors().get(0)).click(); > ((HtmlAnchor) test.getAnchors().get(1)).click(); > //this submits the form to update the display frame > ((HtmlAnchor) test.getAnchors().get(2)).click(); > > //this is to make sure that the page has time to reload > Thread.sleep(1000 * 20); > > final HtmlFrame cudlQAFrame = ((HtmlFrame)mainFrameset.get(0)); > final HtmlPage cudlQA = (HtmlPage)cudlQAFrame.getEnclosedPage(); > List modelSelectDebugFrame = cudlQA.getFrames(); > final HtmlPage display = > (HtmlPage)((HtmlFrame)modelSelectDebugFrame.get(2)).getEnclosedPage(); > System.out.println(display.getTitleText()); > > the display page is blank.html. > I thought that going back to the mainFrameset would give me an updated Frame > but it doesn't. > Thanks for your help! > > Elise > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |
From: Elise L. <el...@ch...> - 2004-06-25 16:01:50
|
First, let me preface this with a comment that the code I am testing ain't pretty. They're spitting out pages, within frames, by using document.write for the whole thing, with some JSP sprinkled all over. Oh, and it's a MVC model. So let me try to narrow down the problem: I have 4 frames. All of which have a src=blank.html. Then a form is submitted and one of the frames is updated with information. The problem i am running into is that I always end up in blank.html for all the frames. This is the test case: final WebClient webClient = new WebClient(); final URL url = new URL("http://127.0.0.1:8080/cudl/cudlQA.html"); // Get the first page final HtmlPage main = (HtmlPage)webClient.getPage(url); List mainFrameset = main.getFrames(); final HtmlFrame testFrame = (HtmlFrame)mainFrameset.get(1); final HtmlPage test = (HtmlPage)testFrame.getEnclosedPage(); //this setups some fields in the form ((HtmlAnchor) test.getAnchors().get(0)).click(); ((HtmlAnchor) test.getAnchors().get(1)).click(); //this submits the form to update the display frame ((HtmlAnchor) test.getAnchors().get(2)).click(); //this is to make sure that the page has time to reload Thread.sleep(1000 * 20); final HtmlFrame cudlQAFrame = ((HtmlFrame)mainFrameset.get(0)); final HtmlPage cudlQA = (HtmlPage)cudlQAFrame.getEnclosedPage(); List modelSelectDebugFrame = cudlQA.getFrames(); final HtmlPage display = (HtmlPage)((HtmlFrame)modelSelectDebugFrame.get(2)).getEnclosedPage(); System.out.println(display.getTitleText()); the display page is blank.html. I thought that going back to the mainFrameset would give me an updated Frame but it doesn't. Thanks for your help! Elise |
From: Your G. <yo...@br...> - 2004-06-24 14:53:00
|
It doesn't look like your form has a "Year" element in it, so that makes sense Brad --- Elise Lebeau <el...@ch...> wrote: > Ah, i found the problem (by successive removal of javascript)... > > top.cudl.onYearChange() was doing this: > > document.myform.action = "StartCUDL.jsp?Year=" + > document.myform.Year[document.myform.Year.selectedIndex].value; > document.myform.submit(); > > and this index didn't evaluate properly. If I hardcode the index, it seems > to work. > > Thx > > Elise > > > > > -----Original Message----- > > From: Elise Lebeau > > Sent: Wednesday, June 23, 2004 5:02 PM > > To: 'br...@br...' > > Cc: 'htm...@li...' > > Subject: RE: [Htmlunit-user] Excecuting Javascript within a Frame > > > > > > here's my html: > > > > ... > > <script language = "Javascript" type="text/javascript"> > > function year() > > { > > top.cudl.document.forms[0].elements[0].value="2005"; > > top.cudl.onYearChange(); > > } > > > > </script> > > </head> > > <body> > > testRequestAQuote > > <form name="myYear" action="javascript:year();"> > > <button type="submit" name="yearButton">year</button> > > </form> > > ... > > > > Here is my JUnit test case: > > > > public void testModelSelector() { > > try { > > final WebClient webClient = new WebClient(); > > final URL url = new > > URL(url"http://127.0.0.1:8080/cudl/cudlQA.html"); > > > > // Get the first page > > final HtmlPage page1 = (HtmlPage)webClient.getPage(url); > > > > final List list = page1.getFrames(); > > final HtmlFrame frame2 = (HtmlFrame)list.get(1); > > final HtmlPage test = (HtmlPage)frame2.getEnclosedPage(); > > test.getFormByName("myYear").submit(); > > > > } catch (Exception e) { > > e.printStackTrace(); > > fail("got exception"); > > } > > > > } > > > > > > > > Elise > > > > > > > > I'm evaluating htmlunit and am running into a pretty basic > > > problem. I > > > > can't submit a form that has a javascript action. Do I need to do > > > > some init for JavaScript to work? I am using 1.3pre and > > this is my > > > > code: > > > > > > > > final WebClient webClient = new WebClient(); > > > > final URL url = new URL(url); > > > > > > > > final HtmlPage page1 = > > (HtmlPage)webClient.getPage(url); > > > > final List list = page1.getFrames(); > > > > final HtmlFrame frame2 = (HtmlFrame)list.get(1); > > > > final HtmlPage test = > > > (HtmlPage)frame2.getEnclosedPage(); > > > > test.getFormByName("myYear").submit(); > > > > > > > > this is the stack: > > > > com.gargoylesoftware.htmlunit.ScriptException: DomNode > > has not been > > > > set for this SimpleScriptable: > > > > com.gargoylesoftware.htmlunit.javascript.host.Select > > > > at > > > > > > > com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.exec > > > ute(JavaScript > > > > Engine.java:264) > > > > at > > > > > > > com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptI > > > fPossible(Html > > > > Page.java:700) > > > > at > > > > > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:156) > > > > at > > > > > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:130) > > > > at > > > > > com.chrome.cudlpsg.CUDLWBTests.testModelSelector(CUDLWBTests.java:75) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) at > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > > > orImpl.java:39 > > > > ) > > > > at > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > > > odAccessorImpl > > > > .java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > > at junit.framework.TestCase.runTest(TestCase.java:154) > > > > at junit.framework.TestCase.runBare(TestCase.java:127) > > > > 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:118) > > > > at junit.framework.TestSuite.runTest(TestSuite.java:208) > > > > at junit.framework.TestSuite.run(TestSuite.java:203) > > > > at junit.textui.TestRunner.doRun(TestRunner.java:116) > > > > at > > > > > com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(Unknown Source) > > > > at junit.textui.TestRunner.start(TestRunner.java:172) > > > > at > > > > > > > com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWit > > > hArgs(Unknown > > > > Source) > > > > at > > > > > > > com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAn > > > dStart(Unknown > > > > Source) > > > > at > > > com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source) > > > > > > > > > > > > > > > > Elise Lebeau > > > > Software Engineer > > > > Chrome Systems Corporation > > > > email: <mailto:me...@ch...> el...@ch... > > > > phone: 503.963.6320 > > > > Fax: 503.963.6310 > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |
From: Elise L. <el...@ch...> - 2004-06-24 00:45:28
|
Ah, i found the problem (by successive removal of javascript)... top.cudl.onYearChange() was doing this: document.myform.action = "StartCUDL.jsp?Year=" + document.myform.Year[document.myform.Year.selectedIndex].value; document.myform.submit(); and this index didn't evaluate properly. If I hardcode the index, it seems to work. Thx Elise > -----Original Message----- > From: Elise Lebeau > Sent: Wednesday, June 23, 2004 5:02 PM > To: 'br...@br...' > Cc: 'htm...@li...' > Subject: RE: [Htmlunit-user] Excecuting Javascript within a Frame > > > here's my html: > > ... > <script language = "Javascript" type="text/javascript"> > function year() > { > top.cudl.document.forms[0].elements[0].value="2005"; > top.cudl.onYearChange(); > } > > </script> > </head> > <body> > testRequestAQuote > <form name="myYear" action="javascript:year();"> > <button type="submit" name="yearButton">year</button> > </form> > ... > > Here is my JUnit test case: > > public void testModelSelector() { > try { > final WebClient webClient = new WebClient(); > final URL url = new > URL(url"http://127.0.0.1:8080/cudl/cudlQA.html"); > > // Get the first page > final HtmlPage page1 = (HtmlPage)webClient.getPage(url); > > final List list = page1.getFrames(); > final HtmlFrame frame2 = (HtmlFrame)list.get(1); > final HtmlPage test = (HtmlPage)frame2.getEnclosedPage(); > test.getFormByName("myYear").submit(); > > } catch (Exception e) { > e.printStackTrace(); > fail("got exception"); > } > > } > > > > Elise > > > > > I'm evaluating htmlunit and am running into a pretty basic > > problem. I > > > can't submit a form that has a javascript action. Do I need to do > > > some init for JavaScript to work? I am using 1.3pre and > this is my > > > code: > > > > > > final WebClient webClient = new WebClient(); > > > final URL url = new URL(url); > > > > > > final HtmlPage page1 = > (HtmlPage)webClient.getPage(url); > > > final List list = page1.getFrames(); > > > final HtmlFrame frame2 = (HtmlFrame)list.get(1); > > > final HtmlPage test = > > (HtmlPage)frame2.getEnclosedPage(); > > > test.getFormByName("myYear").submit(); > > > > > > this is the stack: > > > com.gargoylesoftware.htmlunit.ScriptException: DomNode > has not been > > > set for this SimpleScriptable: > > > com.gargoylesoftware.htmlunit.javascript.host.Select > > > at > > > > > com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.exec > > ute(JavaScript > > > Engine.java:264) > > > at > > > > > com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptI > > fPossible(Html > > > Page.java:700) > > > at > > > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:156) > > > at > > > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:130) > > > at > > > com.chrome.cudlpsg.CUDLWBTests.testModelSelector(CUDLWBTests.java:75) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) at > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > > orImpl.java:39 > > > ) > > > at > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > > odAccessorImpl > > > .java:25) > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > at junit.framework.TestCase.runTest(TestCase.java:154) > > > at junit.framework.TestCase.runBare(TestCase.java:127) > > > 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:118) > > > at junit.framework.TestSuite.runTest(TestSuite.java:208) > > > at junit.framework.TestSuite.run(TestSuite.java:203) > > > at junit.textui.TestRunner.doRun(TestRunner.java:116) > > > at > > > com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(Unknown Source) > > > at junit.textui.TestRunner.start(TestRunner.java:172) > > > at > > > > > com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWit > > hArgs(Unknown > > > Source) > > > at > > > > > com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAn > > dStart(Unknown > > > Source) > > > at > > com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source) > > > > > > > > > > > > Elise Lebeau > > > Software Engineer > > > Chrome Systems Corporation > > > email: <mailto:me...@ch...> el...@ch... > > > phone: 503.963.6320 > > > Fax: 503.963.6310 > > > > > > > > > > > > |
From: Elise L. <el...@ch...> - 2004-06-24 00:02:36
|
here's my html: ... <script language = "Javascript" type="text/javascript"> function year() { top.cudl.document.forms[0].elements[0].value="2005"; top.cudl.onYearChange(); } </script> </head> <body> testRequestAQuote <form name="myYear" action="javascript:year();"> <button type="submit" name="yearButton">year</button> </form> ... Here is my JUnit test case: public void testModelSelector() { try { final WebClient webClient = new WebClient(); final URL url = new URL(url"http://127.0.0.1:8080/cudl/cudlQA.html"); // Get the first page final HtmlPage page1 = (HtmlPage)webClient.getPage(url); final List list = page1.getFrames(); final HtmlFrame frame2 = (HtmlFrame)list.get(1); final HtmlPage test = (HtmlPage)frame2.getEnclosedPage(); test.getFormByName("myYear").submit(); } catch (Exception e) { e.printStackTrace(); fail("got exception"); } } Elise > > I'm evaluating htmlunit and am running into a pretty basic > problem. I > > can't submit a form that has a javascript action. Do I need to do > > some init for JavaScript to work? I am using 1.3pre and this is my > > code: > > > > final WebClient webClient = new WebClient(); > > final URL url = new URL(url); > > > > final HtmlPage page1 = (HtmlPage)webClient.getPage(url); > > final List list = page1.getFrames(); > > final HtmlFrame frame2 = (HtmlFrame)list.get(1); > > final HtmlPage test = > (HtmlPage)frame2.getEnclosedPage(); > > test.getFormByName("myYear").submit(); > > > > this is the stack: > > com.gargoylesoftware.htmlunit.ScriptException: DomNode has not been > > set for this SimpleScriptable: > > com.gargoylesoftware.htmlunit.javascript.host.Select > > at > > > com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.exec > ute(JavaScript > > Engine.java:264) > > at > > > com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptI > fPossible(Html > > Page.java:700) > > at > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:156) > > at > com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:130) > > at > com.chrome.cudlpsg.CUDLWBTests.testModelSelector(CUDLWBTests.java:75) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > orImpl.java:39 > > ) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > odAccessorImpl > > .java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at junit.framework.TestCase.runTest(TestCase.java:154) > > at junit.framework.TestCase.runBare(TestCase.java:127) > > 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:118) > > at junit.framework.TestSuite.runTest(TestSuite.java:208) > > at junit.framework.TestSuite.run(TestSuite.java:203) > > at junit.textui.TestRunner.doRun(TestRunner.java:116) > > at > com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(Unknown Source) > > at junit.textui.TestRunner.start(TestRunner.java:172) > > at > > > com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWit > hArgs(Unknown > > Source) > > at > > > com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAn > dStart(Unknown > > Source) > > at > com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source) > > > > > > > > Elise Lebeau > > Software Engineer > > Chrome Systems Corporation > > email: <mailto:me...@ch...> el...@ch... > > phone: 503.963.6320 > > Fax: 503.963.6310 > > > > > > > |
From: <ddk...@ki...> - 2004-06-23 23:44:21
|
If I had to guess, your calling of 'test.getFormByName("myYear").submit()' is probably not what a real user would do if they were using the form. This method submits the form without "clicking" any "buttons" or changing anything else on the form. (It mimics what JavaScript would do if you called submit() on a form object within a JS method.) What you probably want to do is mimic more closely what the actual user would do, i.e., if the form was automatically submitted when the user picked a value out of a SELECT list, then your htmlunit code should do the same thing (pick a value out of a select list), and expect the JavaScript to be run the same way as it would in a browser. To diagnose the problem further, a reduced test case with HTML and JavaScript would be helpful. Finally, the "DomNode has not been set for this SimpleScriptable" error message means that the JavaScript engine (Rhino) tried to access an object of type SimpleScriptable that wasn't linked to a corresponding DomNode object. When Htmlunit loads a web page, it parses the HTML into a DOM tree made up of DomNodes. Each DomNode may potentially have a SimpleScriptable object associated with it (and vice-versa; it's a bi-directional relationship). However, the SimpleScriptable objects are generally initialized in a lazy manner because they are only used by Rhino, and most pages won't access every single html element in a web page during the life of the page. http://www.mozilla.org/rhino/ I have seen bugs (see example link below) where the source code assumes that the SimpleScriptable object has been initialized when, in fact, it has not. [ 916316 ] Fix use of this.form in JavaScript events of form elements http://sourceforge.net/tracker/index.php?func=detail&aid=916316&group_id=47038&atid=448266 Your issue may or may not be related to a similar issue, but a test case is needed to determine that. Dave On Wed, Jun 23, 2004 at 02:55:45PM -0700, Elise Lebeau wrote: > I'm evaluating htmlunit and am running into a pretty basic problem. I can't > submit a form that has a javascript action. Do I need to do some init for > JavaScript to work? > I am using 1.3pre and this is my code: > > final WebClient webClient = new WebClient(); > final URL url = new URL(url); > > final HtmlPage page1 = (HtmlPage)webClient.getPage(url); > final List list = page1.getFrames(); > final HtmlFrame frame2 = (HtmlFrame)list.get(1); > final HtmlPage test = (HtmlPage)frame2.getEnclosedPage(); > test.getFormByName("myYear").submit(); > > this is the stack: > com.gargoylesoftware.htmlunit.ScriptException: DomNode has not been set for > this SimpleScriptable: com.gargoylesoftware.htmlunit.javascript.host.Select > at > com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript > Engine.java:264) > at > com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html > Page.java:700) > at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:156) > at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:130) > [...] |
From: <ddk...@ki...> - 2004-06-23 23:04:13
|
The basic authentication problem is being caused by JavaScript code that htmlunit's JavaScript engine is having problems running. (See excerpted stacktrace below.) In order to fix the basic authentication problem, you need to find out why some JavaScript variable is undefined within the DocReady() method in the /ourapp/scripts/tabs.js file. It would help to narrow down this test case (rather than posting the whole JavaScript file and HTML page) if possible. Dave Chad wrote: > We are trying to use HtmlUnit. Out app uses basic authentication, and > we are having problems with it. > [...] > And here is the stacktrace: > [...] > Enclosed exception: ======= EXCEPTION START ======== > EcmaError: lineNumber=[34] column=[0] lineSource=[null] name=[ConversionError] sourceName=[/ourapp/scripts/tabs.js] message=[The undefined value has no properties.] errorObject=[ConversionError: The undefined value has no properties.] > com.gargoylesoftware.htmlunit.ScriptException: The undefined value has no properties. > at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:250) > [...] > == CALLING JAVASCRIPT == > DocReady() > ======= EXCEPTION END ======== |
From: Elise L. <el...@ch...> - 2004-06-23 21:56:04
|
I'm evaluating htmlunit and am running into a pretty basic problem. I can't submit a form that has a javascript action. Do I need to do some init for JavaScript to work? I am using 1.3pre and this is my code: final WebClient webClient = new WebClient(); final URL url = new URL(url); final HtmlPage page1 = (HtmlPage)webClient.getPage(url); final List list = page1.getFrames(); final HtmlFrame frame2 = (HtmlFrame)list.get(1); final HtmlPage test = (HtmlPage)frame2.getEnclosedPage(); test.getFormByName("myYear").submit(); this is the stack: com.gargoylesoftware.htmlunit.ScriptException: DomNode has not been set for this SimpleScriptable: com.gargoylesoftware.htmlunit.javascript.host.Select at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScript Engine.java:264) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(Html Page.java:700) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:156) at com.gargoylesoftware.htmlunit.html.HtmlForm.submit(HtmlForm.java:130) at com.chrome.cudlpsg.CUDLWBTests.testModelSelector(CUDLWBTests.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.textui.TestRunner.doRun(TestRunner.java:116) at com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(Unknown Source) at junit.textui.TestRunner.start(TestRunner.java:172) at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(Unknown Source) at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(Unknown Source) at com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source) Elise Lebeau Software Engineer Chrome Systems Corporation email: <mailto:me...@ch...> el...@ch... phone: 503.963.6320 Fax: 503.963.6310 |
From: Mike B. <mbr...@vi...> - 2004-06-19 18:28:27
|
> Please log a bug on the sourceforge project page so I don't > forget (the fix > is like 2 lines but the tests will take more time than I have right now). I attached a patch to the bug that fixes the problem and provides a test case for it. See bug #972822 "HtmlSelect.getSelectedOptions() defaults to first option". |
From: lists <li...@th...> - 2004-06-18 00:10:53
|
Hi, We are trying to use HtmlUnit. Out app uses basic authentication, and we are having problems with it. Here is our test case: package com.gargoylesoftware.htmlunit; import java.net.URL; import junit.framework.TestCase; import com.gargoylesoftware.htmlunit.html.HtmlPage; public class SampleTest extends TestCase { public void testHomePage() throws Exception { final WebClient webClient = new WebClient(); final URL url = new URL("http://ourhost.com/ourdir/"); final CredentialProvider credentialProvider = new SimpleCredentialProvider("userid", "password"); webClient.setCredentialProvider(credentialProvider); final HtmlPage page = (HtmlPage)webClient.getPage(url); assertEquals( "Title", page.getTitleText() ); } } Here is the error we get on the console: Jun 17, 2004 5:01:53 PM org.apache.commons.httpclient.HttpMethodBase processAuthenticationResponse WARNING: No credentials available for the basicauthentication realm 'Our Realm' And here is the stacktrace: com.gargoylesoftware.htmlunit.ObjectInstantiationException: Exception when calling constructor [public com.gargoylesoftware.htmlunit.html.HtmlInlineFrame(com.gargoylesoftware.htmlunit.html.HtmlPage,org.w3c.dom.Element)] at com.gargoylesoftware.htmlunit.html.SimpleHtmlElementCreator.create(SimpleHtmlElementCreator.java:91) at com.gargoylesoftware.htmlunit.html.HtmlPage.getHtmlElement(HtmlPage.java:464) at com.gargoylesoftware.htmlunit.html.HtmlElement.getHtmlElementsByTagNames(HtmlElement.java:721) at com.gargoylesoftware.htmlunit.html.HtmlPage.initializeFramesIfNeeded(HtmlPage.java:1108) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:172) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:356) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:276) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:220) at com.gargoylesoftware.htmlunit.SampleTest.testHomePage(SampleTest.java:16) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:410) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:294) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:182) Enclosed exception: ======= EXCEPTION START ======== EcmaError: lineNumber=[34] column=[0] lineSource=[null] name=[ConversionError] sourceName=[/ourapp/scripts/tabs.js] message=[The undefined value has no properties.] errorObject=[ConversionError: The undefined value has no properties.] com.gargoylesoftware.htmlunit.ScriptException: The undefined value has no properties. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:250) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:889) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeBodyOnLoadHandlerIfNeeded(HtmlPage.java:1096) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:173) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:356) at com.gargoylesoftware.htmlunit.html.HtmlInlineFrame.loadInnerPageIfPossible(HtmlInlineFrame.java:86) at com.gargoylesoftware.htmlunit.html.HtmlInlineFrame.<init>(HtmlInlineFrame.java:75) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.gargoylesoftware.htmlunit.html.SimpleHtmlElementCreator.create(SimpleHtmlElementCreator.java:80) at com.gargoylesoftware.htmlunit.html.HtmlPage.getHtmlElement(HtmlPage.java:464) at com.gargoylesoftware.htmlunit.html.HtmlElement.getHtmlElementsByTagNames(HtmlElement.java:721) at com.gargoylesoftware.htmlunit.html.HtmlPage.initializeFramesIfNeeded(HtmlPage.java:1108) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:172) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:356) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:276) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:220) at com.gargoylesoftware.htmlunit.SampleTest.testHomePage(SampleTest.java:16) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:410) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:294) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:182) Enclosed exception: ConversionError: The undefined value has no properties. (/ourapp/scripts/tabs.js; line 34) at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:597) at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:557) at org.mozilla.javascript.ScriptRuntime.getProp(ScriptRuntime.java:712) at org.mozilla.javascript.gen.c18.call(/ourapp/scripts/tabs.js:34) at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1191) at org.mozilla.javascript.gen.c31.call(Embedded script:2) at org.mozilla.javascript.optimizer.OptRuntime.callSimple(OptRuntime.java:275) at org.mozilla.javascript.gen.c41.call(body.onLoad:1) at org.mozilla.javascript.gen.c41.exec(body.onLoad) 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(JavaScriptEngine.java:242) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:889) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeBodyOnLoadHandlerIfNeeded(HtmlPage.java:1096) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:173) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:356) at com.gargoylesoftware.htmlunit.html.HtmlInlineFrame.loadInnerPageIfPossible(HtmlInlineFrame.java:86) at com.gargoylesoftware.htmlunit.html.HtmlInlineFrame.<init>(HtmlInlineFrame.java:75) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.gargoylesoftware.htmlunit.html.SimpleHtmlElementCreator.create(SimpleHtmlElementCreator.java:80) at com.gargoylesoftware.htmlunit.html.HtmlPage.getHtmlElement(HtmlPage.java:464) at com.gargoylesoftware.htmlunit.html.HtmlElement.getHtmlElementsByTagNames(HtmlElement.java:721) at com.gargoylesoftware.htmlunit.html.HtmlPage.initializeFramesIfNeeded(HtmlPage.java:1108) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:172) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:356) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:276) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:220) at com.gargoylesoftware.htmlunit.SampleTest.testHomePage(SampleTest.java:16) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:410) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:294) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:182) == CALLING JAVASCRIPT == DocReady() ======= EXCEPTION END ======== Any help is appreciated. Thanks, Chad |
From: <mbr...@vi...> - 2004-06-14 21:21:59
|
> Please log a bug on the sourceforge project page so I don't forget (the fix > is like 2 lines but the tests will take more time than I have right now). Done. |
From: Brad C. <bc...@bo...> - 2004-06-14 21:03:47
|
OK, that's just weird :) Please log a bug on the sourceforge project page so I don't forget (the fix is like 2 lines but the tests will take more time than I have right now). Brad C At 03:44 PM 6/14/2004, you wrote: >Here's an example: > >1 >I forgot to specify that the size attribute must be > 1. > >Mike Bresnahan > >Quoting Brad Clarke <bc...@bo...>: > > > IE6 and Mozilla 1.6 both select the first option for me. Could you make an > > example HTML page that shows this? > > > > Brad C > > > > At 02:52 PM 6/14/2004, you wrote: > > > > >The function > > >com.gargoylesoftware.htmlunit.html.HtmlSelect.getSelectedOptions() > > >returns a 1-element array containing the first option when no options are > > >marked as selected. The code that does this is near the end of the > function > > >and looks like this (Revision: 1.24): > > > > > > else { > > > result.add(firstOption); > > > } > > > > > >This behavior is not consistent with Internet Explorer 6.0 or Netscape > > >7.1. To > > >be consistent, the code should return a 0-element array. > > > > > >Mike Bresnahan > > > |
From: <mbr...@vi...> - 2004-06-14 20:44:24
|
Here's an example: <html> <body> <select name="foo" size="4"> <option value="1">1</option> </select> </body> </html> I forgot to specify that the size attribute must be > 1. Mike Bresnahan Quoting Brad Clarke <bc...@bo...>: > IE6 and Mozilla 1.6 both select the first option for me. Could you make an > example HTML page that shows this? > > Brad C > > At 02:52 PM 6/14/2004, you wrote: > > >The function > >com.gargoylesoftware.htmlunit.html.HtmlSelect.getSelectedOptions() > >returns a 1-element array containing the first option when no options are > >marked as selected. The code that does this is near the end of the function > >and looks like this (Revision: 1.24): > > > > else { > > result.add(firstOption); > > } > > > >This behavior is not consistent with Internet Explorer 6.0 or Netscape > >7.1. To > >be consistent, the code should return a 0-element array. > > > >Mike Bresnahan > > |
From: Brad C. <bc...@bo...> - 2004-06-14 20:24:18
|
IE6 and Mozilla 1.6 both select the first option for me. Could you make an example HTML page that shows this? Brad C At 02:52 PM 6/14/2004, you wrote: >The function >com.gargoylesoftware.htmlunit.html.HtmlSelect.getSelectedOptions() >returns a 1-element array containing the first option when no options are >marked as selected. The code that does this is near the end of the function >and looks like this (Revision: 1.24): > > else { > result.add(firstOption); > } > >This behavior is not consistent with Internet Explorer 6.0 or Netscape >7.1. To >be consistent, the code should return a 0-element array. > >Mike Bresnahan > |
From: <mbr...@vi...> - 2004-06-14 20:11:27
|
The function com.gargoylesoftware.htmlunit.html.HtmlCheckBoxInput.click() does not handle the onclick event handler correctly. When a onclick handler is specified on a HTML checkbox that causes a new page to be displayed, the function HtmlCheckBoxInput.click() does not return the new page. Rather it returns the original page. Note that the actual function is on the base class ClickableElement. The attached patch fixes the problem. Note that the patch may break code that is relying on ClickableElement.click() to return the return value of doClickAction(). However, I could not think of senario where one would want that behavior. Perhaps someone with more experience with the code can spot a problem. Mike Bresnahan |
From: <mbr...@vi...> - 2004-06-14 19:53:07
|
The function com.gargoylesoftware.htmlunit.html.HtmlSelect.getSelectedOptions() returns a 1-element array containing the first option when no options are marked as selected. The code that does this is near the end of the function and looks like this (Revision: 1.24): else { result.add(firstOption); } This behavior is not consistent with Internet Explorer 6.0 or Netscape 7.1. To be consistent, the code should return a 0-element array. Mike Bresnahan |
From: Tom S. <tom...@sp...> - 2004-06-11 12:47:26
|
Hi, I have the problems with the following Form: <form name="test" method="post" action="result.asp"> <input type="text" name="name" value="Mein Name"><br> <input type="text" name="mail" value="mei...@pr..."><br> <textarea name="text" cols="10" rows="20">BLABLA</textarea><br> <input type="hidden" name="passedForm" value="feedback"><br> <input type="Checkbox" name="checkbox1" value="123" checked>Test123<br> <input type="Checkbox" name="checkbox1" value="456" checked>test456<br> <input type="Checkbox" name="checkbox1" value="789">Tesst789<br> <input type="radio" name="radio1" value="abc">HAlloABC <input type="radio" name="radio1" value="def">HAlloDEF <input type="submit" name="send" value="Schicken"> </form> When I call 'getAllSubmittableElements()' the parser doesn't add the unchecked radios and checkboxes. I checked the found form-elements with: for(int i=0; i< this.formElementTags.toArray().length; i++){ log.debug(String.valueOf(((ClickableElement)(this.formElementTags.toArray()[ i])).asXml())); } Here a debug of the log4j-messages: [main] DEBUG std-out - <input name="name" type="text" value="Mein Name"/> [main] DEBUG std-out - <input name="mail" type="text" value="mei...@pr..."/> [main] DEBUG std-out - <textarea cols="10" name="text" rows="20">BLABLA</textarea> [main] DEBUG std-out - <input name="passedForm" type="hidden" value="feedback"/> [main] DEBUG std-out - <input checked="" value="123" type="Checkbox" name="checkbox1"/> [main] DEBUG std-out - <input checked="" value="456" type="Checkbox" name="checkbox1"/> Any Ideas? Thx in advance, Tom Seidel |
From: Brad C. <bc...@bo...> - 2004-06-02 18:22:12
|
oic :) this is what defines the property: com.gargoylesoftware.htmlunit.JavaScriptConfiguration.xml While I've not done a lot of research on it I'd look at this stuff first: com.gargoylesoftware.htmlunit.javascript.host.NodeImpl.jsGet_nodeValue() com.gargoylesoftware.htmlunit.javascript.host.NodeImpl.jsSet_nodeValue() com.gargoylesoftware.htmlunit.javascript.host.Document.jsFunction_write() Hope that helps :) Brad C At 12:29 PM 6/2/2004, you wrote: >Brad > >I am not that close yet. I need advice on where to look for the right place >to add >innerHTML support the htmlunit ;-) > >-Dan > >----- Original Message ----- >From: "Brad Clarke" <bc...@bo...> >To: <htm...@li...> >Sent: Wednesday, June 02, 2004 7:18 AM >Subject: Re: [Htmlunit-user] Support innerHTML, where do I start? > > > > At 02:42 AM 5/29/2004, you wrote: > > >Dear experts, > > > > > >Could you give me some hints on how to add support for innerHTML? > > > > > >I will put time to do the development work, but some good starting = > > >points are greatly appreciated > > > > > >-D > > > > > > http://htmlunit.sourceforge.net/submittingPatches.html > > > > Might want to check the patches and bugs sections of the sf.net project > > page as this might have already been addressed. I hope to take some time > > this week to commit and uncommited patches. > > > > Brad C > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the new InstallShield X. > > From Windows to Linux, servers to mobile, InstallShield X is the one > > installation-authoring solution that does it all. Learn more and > > evaluate today! http://www.installshield.com/Dev2Dev/0504 > > _______________________________________________ > > Htmlunit-user mailing list > > Htm...@li... > > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > > >------------------------------------------------------- >This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one >installation-authoring solution that does it all. Learn more and >evaluate today! http://www.installshield.com/Dev2Dev/0504 >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user |
From: Dan T. <dan...@ho...> - 2004-06-02 17:24:59
|
Brad I am not that close yet. I need advice on where to look for the right place to add innerHTML support the htmlunit ;-) -Dan ----- Original Message ----- From: "Brad Clarke" <bc...@bo...> To: <htm...@li...> Sent: Wednesday, June 02, 2004 7:18 AM Subject: Re: [Htmlunit-user] Support innerHTML, where do I start? > At 02:42 AM 5/29/2004, you wrote: > >Dear experts, > > > >Could you give me some hints on how to add support for innerHTML? > > > >I will put time to do the development work, but some good starting = > >points are greatly appreciated > > > >-D > > > http://htmlunit.sourceforge.net/submittingPatches.html > > Might want to check the patches and bugs sections of the sf.net project > page as this might have already been addressed. I hope to take some time > this week to commit and uncommited patches. > > Brad C > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |
From: Brad C. <bc...@bo...> - 2004-06-02 14:22:14
|
At 02:42 AM 5/29/2004, you wrote: >Dear experts, > >Could you give me some hints on how to add support for innerHTML? > >I will put time to do the development work, but some good starting = >points are greatly appreciated > >-D http://htmlunit.sourceforge.net/submittingPatches.html Might want to check the patches and bugs sections of the sf.net project page as this might have already been addressed. I hope to take some time this week to commit and uncommited patches. Brad C |
From: Dan T. <dan...@ho...> - 2004-05-29 07:37:25
|
Dear experts, Could you give me some hints on how to add support for innerHTML? I will put time to do the development work, but some good starting =3D points are greatly appreciated -D |
From: Dan T. <dan...@ho...> - 2004-05-28 06:27:55
|
Hello, I run a quick test at http://my.liferay.com and got a "setInterval" not found error (good message) So I went a head and implement Window.setInterval, which does nothing, and add appropriate element to javascriptConfiuration.xml against the latest greatest cvs source. But now, my test got stuck, the debugger see the infinite calls to setInterval method. Any suggestion? The way I stub out setInterval method, is it correct? -Dan |
From: <ben...@id...> - 2004-05-22 12:06:06
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: Mike B. <mb...@Ga...> - 2004-05-11 14:07:11
|
Andrey Subbotin wrote: > My problem is that lately there was no activity on the project for 2 months, > and until you commit the first couple of patches, I cannot generate the next > ones. At the same time I cannot stop my work, so in a week or two I'll end > with my own branch, and separating it into separate fixes retroactively > would be difficult. I've been swamped with work and HtmlUnit has been neglected as a result. I'll try to get to the pending patches later today. If another committer manages to get to them first then that would be excellent. > A question to Htmlunit developers: would you recommend > 1) to wait until you commit the first patches > 2) to collect all patches into a single large patch > 3) to roll my own branch, because you cannot spend significant time on > Htmlunit in foreseeable future We should be at least accepting/rejecting patches as they come in even if we don't have time for ongoing development. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Andrey S. <asu...@oi...> - 2004-05-11 09:08:17
|
I am trying to use Htmlunit to run automated tests of our system. Right now I got the the stage where basic framework is functional, I am adding reports to test suite and alternatively fixing noncompliant javascript, and bugs/absent features in Htmlunit. I'd like to commit fixes to Htmlunit, both because I do not want to babysit my own branch of Htmlunit forever, and because I believe these fixes will be useful to everybody. I submitted the first two patches a week ago. My problem is that lately there was no activity on the project for 2 months, and until you commit the first couple of patches, I cannot generate the next ones. At the same time I cannot stop my work, so in a week or two I'll end with my own branch, and separating it into separate fixes retroactively would be difficult. A question to Htmlunit developers: would you recommend 1) to wait until you commit the first patches 2) to collect all patches into a single large patch 3) to roll my own branch, because you cannot spend significant time on Htmlunit in foreseeable future Thank you Andrey |