webunitproj-users Mailing List for Enterprise Web Test (Page 3)
Brought to you by:
dgan
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(33) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(1) |
Feb
(5) |
Mar
(4) |
Apr
(9) |
May
(10) |
Jun
(2) |
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2004 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Doron <dg...@sh...> - 2002-11-18 17:34:24
|
Hi Erik, I like your first option. Sounds like this solves your issue so I am not going to spend time on it. If this is not true, let me know. -Doron On Mon, 2002-11-18 at 12:00, Eri...@al... wrote: > Doron, > > Thanks, that helped me out a lot. The frames we're working with are > DIVs and not FRAMEs. > > So I'd like to add this block of code: > > else if (tagName.equalsIgnoreCase("DIV")) > { > childTag= createFrame(el); > } > > right after this block of code: > > else if (tagName.equalsIgnoreCase("FRAME")) > { > childTag= createFrame(el); > } > > > Does this sound reasonable? Another tact would be to > add a getContent() to DefaultWebTag. I think I prefer > the first option. > > Tell me what you all think. > > --Erik > > > > > -----Original Message----- > > From: Doron [mailto:dg...@sh...] > > Sent: Saturday, November 16, 2002 4:23 PM > > To: Ostermueller, Erik > > Cc: web...@li... > > Subject: Re: [Webunitproj-users] RE: iFrame > > > > > > Hi Erik, > > > > > > iFrame, your just asking for trouble aren't you? ;-) > > > > Looks like you have a frame that already exists called > > "idTextAccountNumberBackIframe". And the javascript > > code generates some > > text in there. > > > > Well, I believe the trick is to get the HTML > > from the FRAME __AFTER__ > > it has been generated. Because if you ask for the HTML > > before its done > > generating you won't get what you expected and web unit > > caches this > > until you change pages to make it work faster. > > > > So the trick is to ask the frame for its > > content, have web unit ignore > > the cache, until you get what you expected. I can play > > with this on > > Monday if you don't get to it. > > > > Also on Monday I am going to add a class to do > > button pushing and text > > field entry for popups. This is specific to windows but > > will allow us to > > handle certain unexpected scenarios (dialogs IE brings > > up which can not > > be suppressed). > > > > -Doron > > > > > > > > On Fri, 2002-11-15 at 14:38, Eri...@al... wrote: > > > The listserver didn't send this out for some reason. > > > Let's try this again. > > > > > > --Erik > > > > > > > -----Original Message----- > > > > From: Ostermueller, Erik > > > > Sent: Thursday, November 14, 2002 4:28 PM > > > > To: web...@li... > > > > Subject: iFrame > > > > > > > > > > > > Hello All (in the most 'Doron' sense of the word), > > > > > > > > I don't know the terminology for what I'm > > about to describe, > > > > so bear with me in my verbose explanation. > > > > > > > > If I right-click on a regular html page with no tricks > > > > and say view source, I'll get all the source for the > > > > entire page. > > > > That's the easy part. > > > > > > > > A web guy on our team who knows a lot more than me has > > > > put some 'iFrames' into our pages. > > > > > > > > If you right click on one of these babies and select > > > > 'view source', > > > > you get only the source for that iFrame. He > > tells me that > > > > the html is dynamically generated by java script. > > > > > > > > How can I use WebUnit to manipulate the html > > generated > > > > by this little iFrame thingy. > > > > The WebResponse doesn't contain this html. I > > need some > > > > way to drill down > > > > into this thing. > > > > > > > > Here is an example of the javascript that > > creates this thingy: > > > > > > > > var htmlAccountNumberFrameDocument = > > > > document.frames( > > "idTextAccountNumberBackIframe" ).document; > > > > > > > > htmlAccountNumberFrameDocument.write( > > > > "<html><head>"); > > > > htmlAccountNumberFrameDocument.write( > > > > "<LINK REL='STYLESHEET' > > HREF='cc/stylesheets/usaa.css' > > > > TYPE='text/css'><script type='text/javascript' > > > > language='JavaScript' > > > > src='javascript/filterkeys.js'></script>" ); > > > > htmlAccountNumberFrameDocument.write( > > > > "</head>" ); > > > > htmlAccountNumberFrameDocument.write( > > > > "<body topmargin='0' leftmargin='0' > > scroll='no'><INPUT > > > > TYPE='TEXT' NAME='textAccountNumber' VALUE='' > > > > MAXLENGTH='16' ID='idTextAccountNumber' > > > > STYLE='width:100%;font-size: > > > > > > xx-small;border-right-style:none;border-right-width:0;' > > > > > > ONCLICK='javascript:document.enablementGroup.toggle(this > > > > );' ONKEYPRESS='javascript:FilterKeys.numbersOnly();' > > > > > > ONKEYUP='javascript:document.enablementGroup.toggle(this > > > > );'></body>" ); > > > > htmlAccountNumberFrameDocument.write( > > > > "</html>" ); > > > > htmlAccountNumberFrameDocument.close(); > > > > > > > > > > > > Thanks, > > > > > > > > --Erik > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by: To learn the > > basics of securing > > > your web site with SSL, click here to get a FREE > > TRIAL of a Thawte > > > Server Certificate: http://www.gothawte.com/rd524.html > > > _______________________________________________ > > > Webunitproj-users mailing list > > > Web...@li... > > > https://lists.sourceforge.net/lists/listinfo/webunitproj-users > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > Webunitproj-users mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webunitproj-users |
From: <Eri...@al...> - 2002-11-18 17:16:43
|
Doron, Thanks, that helped me out a lot. The frames we're working with are DIVs and not FRAMEs. So I'd like to add this block of code: else if (tagName.equalsIgnoreCase("DIV")) { childTag=3D createFrame(el); } right after this block of code: else if (tagName.equalsIgnoreCase("FRAME")) { childTag=3D createFrame(el); } Does this sound reasonable? Another tact would be to=20 add a getContent() to DefaultWebTag. I think I prefer the first option. Tell me what you all think. --Erik > -----Original Message----- > From: Doron [mailto:dg...@sh...] > Sent: Saturday, November 16, 2002 4:23 PM > To: Ostermueller, Erik > Cc: web...@li... > Subject: Re: [Webunitproj-users] RE: iFrame >=20 >=20 > Hi Erik, >=20 >=20 > iFrame, your just asking for trouble aren't you? ;-) >=20 > Looks like you have a frame that already exists called > "idTextAccountNumberBackIframe". And the javascript=20 > code generates some > text in there. >=20 > Well, I believe the trick is to get the HTML=20 > from the FRAME __AFTER__ > it has been generated. Because if you ask for the HTML=20 > before its done > generating you won't get what you expected and web unit=20 > caches this > until you change pages to make it work faster. >=20 > So the trick is to ask the frame for its=20 > content, have web unit ignore > the cache, until you get what you expected. I can play=20 > with this on > Monday if you don't get to it. >=20 > Also on Monday I am going to add a class to do=20 > button pushing and text > field entry for popups. This is specific to windows but=20 > will allow us to > handle certain unexpected scenarios (dialogs IE brings=20 > up which can not > be suppressed). >=20 > -Doron >=20 >=20 >=20 > On Fri, 2002-11-15 at 14:38, Eri...@al... wrote: > > The listserver didn't send this out for some reason. > > Let's try this again. > >=20 > > --Erik > >=20 > > > -----Original Message----- > > > From: Ostermueller, Erik=20 > > > Sent: Thursday, November 14, 2002 4:28 PM > > > To: web...@li... > > > Subject: iFrame > > >=20 > > >=20 > > > Hello All (in the most 'Doron' sense of the word), > > >=20 > > > I don't know the terminology for what I'm=20 > about to describe,=20 > > > so bear with me in my verbose explanation. > > >=20 > > > If I right-click on a regular html page with no tricks > > > and say view source, I'll get all the source for the=20 > > > entire page. > > > That's the easy part. > > >=20 > > > A web guy on our team who knows a lot more than me has > > > put some 'iFrames' into our pages. > > >=20 > > > If you right click on one of these babies and select=20 > > > 'view source', > > > you get only the source for that iFrame. He=20 > tells me that > > > the html is dynamically generated by java script. > > >=20 > > > How can I use WebUnit to manipulate the html=20 > generated=20 > > > by this little iFrame thingy. > > > The WebResponse doesn't contain this html. I=20 > need some=20 > > > way to drill down > > > into this thing. > > >=20 > > > Here is an example of the javascript that=20 > creates this thingy: > > >=20 > > > var htmlAccountNumberFrameDocument =3D=20 > > > document.frames(=20 > "idTextAccountNumberBackIframe" ).document; > > > =09 > > > htmlAccountNumberFrameDocument.write(=20 > > > "<html><head>"); > > > htmlAccountNumberFrameDocument.write(=20 > > > "<LINK REL=3D'STYLESHEET'=20 > HREF=3D'cc/stylesheets/usaa.css'=20 > > > TYPE=3D'text/css'><script type=3D'text/javascript'=20 > > > language=3D'JavaScript'=20 > > > src=3D'javascript/filterkeys.js'></script>" ); > > > htmlAccountNumberFrameDocument.write(=20 > > > "</head>" ); > > > htmlAccountNumberFrameDocument.write(=20 > > > "<body topmargin=3D'0' leftmargin=3D'0'=20 > scroll=3D'no'><INPUT=20 > > > TYPE=3D'TEXT' NAME=3D'textAccountNumber' VALUE=3D''=20 > > > MAXLENGTH=3D'16' ID=3D'idTextAccountNumber'=20 > > > STYLE=3D'width:100%;font-size:=20 > > >=20 > xx-small;border-right-style:none;border-right-width:0;'=20 > > >=20 > ONCLICK=3D'javascript:document.enablementGroup.toggle(this > > > );' = ONKEYPRESS=3D'javascript:FilterKeys.numbersOnly();'=20 > > >=20 > ONKEYUP=3D'javascript:document.enablementGroup.toggle(this > > > );'></body>" ); > > > htmlAccountNumberFrameDocument.write(=20 > > > "</html>" ); > > > htmlAccountNumberFrameDocument.close(); > > >=20 > > >=20 > > > Thanks, > > >=20 > > > --Erik > > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by: To learn the=20 > basics of securing=20 > > your web site with SSL, click here to get a FREE=20 > TRIAL of a Thawte=20 > > Server Certificate: http://www.gothawte.com/rd524.html > > _______________________________________________ > > Webunitproj-users mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/webunitproj-users >=20 >=20 >=20 |
From: Doron <dg...@sh...> - 2002-11-16 22:23:55
|
Hi Erik, iFrame, your just asking for trouble aren't you? ;-) Looks like you have a frame that already exists called "idTextAccountNumberBackIframe". And the javascript code generates some text in there. Well, I believe the trick is to get the HTML from the FRAME __AFTER__ it has been generated. Because if you ask for the HTML before its done generating you won't get what you expected and web unit caches this until you change pages to make it work faster. So the trick is to ask the frame for its content, have web unit ignore the cache, until you get what you expected. I can play with this on Monday if you don't get to it. Also on Monday I am going to add a class to do button pushing and text field entry for popups. This is specific to windows but will allow us to handle certain unexpected scenarios (dialogs IE brings up which can not be suppressed). -Doron On Fri, 2002-11-15 at 14:38, Eri...@al... wrote: > The listserver didn't send this out for some reason. > Let's try this again. > > --Erik > > > -----Original Message----- > > From: Ostermueller, Erik > > Sent: Thursday, November 14, 2002 4:28 PM > > To: web...@li... > > Subject: iFrame > > > > > > Hello All (in the most 'Doron' sense of the word), > > > > I don't know the terminology for what I'm about to describe, > > so bear with me in my verbose explanation. > > > > If I right-click on a regular html page with no tricks > > and say view source, I'll get all the source for the > > entire page. > > That's the easy part. > > > > A web guy on our team who knows a lot more than me has > > put some 'iFrames' into our pages. > > > > If you right click on one of these babies and select > > 'view source', > > you get only the source for that iFrame. He tells me that > > the html is dynamically generated by java script. > > > > How can I use WebUnit to manipulate the html generated > > by this little iFrame thingy. > > The WebResponse doesn't contain this html. I need some > > way to drill down > > into this thing. > > > > Here is an example of the javascript that creates this thingy: > > > > var htmlAccountNumberFrameDocument = > > document.frames( "idTextAccountNumberBackIframe" ).document; > > > > htmlAccountNumberFrameDocument.write( > > "<html><head>"); > > htmlAccountNumberFrameDocument.write( > > "<LINK REL='STYLESHEET' HREF='cc/stylesheets/usaa.css' > > TYPE='text/css'><script type='text/javascript' > > language='JavaScript' > > src='javascript/filterkeys.js'></script>" ); > > htmlAccountNumberFrameDocument.write( > > "</head>" ); > > htmlAccountNumberFrameDocument.write( > > "<body topmargin='0' leftmargin='0' scroll='no'><INPUT > > TYPE='TEXT' NAME='textAccountNumber' VALUE='' > > MAXLENGTH='16' ID='idTextAccountNumber' > > STYLE='width:100%;font-size: > > xx-small;border-right-style:none;border-right-width:0;' > > ONCLICK='javascript:document.enablementGroup.toggle(this > > );' ONKEYPRESS='javascript:FilterKeys.numbersOnly();' > > ONKEYUP='javascript:document.enablementGroup.toggle(this > > );'></body>" ); > > htmlAccountNumberFrameDocument.write( > > "</html>" ); > > htmlAccountNumberFrameDocument.close(); > > > > > > Thanks, > > > > --Erik > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > Webunitproj-users mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webunitproj-users |
From: <Eri...@al...> - 2002-11-15 19:38:32
|
The listserver didn't send this out for some reason. Let's try this again. --Erik > -----Original Message----- > From: Ostermueller, Erik=20 > Sent: Thursday, November 14, 2002 4:28 PM > To: web...@li... > Subject: iFrame >=20 >=20 > Hello All (in the most 'Doron' sense of the word), >=20 > I don't know the terminology for what I'm about to describe,=20 > so bear with me in my verbose explanation. >=20 > If I right-click on a regular html page with no tricks > and say view source, I'll get all the source for the=20 > entire page. > That's the easy part. >=20 > A web guy on our team who knows a lot more than me has > put some 'iFrames' into our pages. >=20 > If you right click on one of these babies and select=20 > 'view source', > you get only the source for that iFrame. He tells me that > the html is dynamically generated by java script. >=20 > How can I use WebUnit to manipulate the html generated=20 > by this little iFrame thingy. > The WebResponse doesn't contain this html. I need some=20 > way to drill down > into this thing. >=20 > Here is an example of the javascript that creates this thingy: >=20 > var htmlAccountNumberFrameDocument =3D=20 > document.frames( "idTextAccountNumberBackIframe" ).document; > =09 > htmlAccountNumberFrameDocument.write(=20 > "<html><head>"); > htmlAccountNumberFrameDocument.write(=20 > "<LINK REL=3D'STYLESHEET' HREF=3D'cc/stylesheets/usaa.css'=20 > TYPE=3D'text/css'><script type=3D'text/javascript'=20 > language=3D'JavaScript'=20 > src=3D'javascript/filterkeys.js'></script>" ); > htmlAccountNumberFrameDocument.write(=20 > "</head>" ); > htmlAccountNumberFrameDocument.write(=20 > "<body topmargin=3D'0' leftmargin=3D'0' scroll=3D'no'><INPUT=20 > TYPE=3D'TEXT' NAME=3D'textAccountNumber' VALUE=3D''=20 > MAXLENGTH=3D'16' ID=3D'idTextAccountNumber'=20 > STYLE=3D'width:100%;font-size:=20 > xx-small;border-right-style:none;border-right-width:0;'=20 > ONCLICK=3D'javascript:document.enablementGroup.toggle(this > );' ONKEYPRESS=3D'javascript:FilterKeys.numbersOnly();'=20 > ONKEYUP=3D'javascript:document.enablementGroup.toggle(this > );'></body>" ); > htmlAccountNumberFrameDocument.write(=20 > "</html>" ); > htmlAccountNumberFrameDocument.close(); >=20 >=20 > Thanks, >=20 > --Erik >=20 |
From: Brian K. <bt...@ne...> - 2002-11-08 22:01:01
|
I am running IE 6.0... I was never able to get the unit tests to pass before I made the patch... I always get the following errors: [java] There were 4 errors: [java] 1) testEnable(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 2) testCheckBoxClick(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 3) testCheckBoxClick2(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 4) testCheckBoxClick_com(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] FAILURES!!! [java] Tests run: 16, Failures: 0, Errors: 4 -----Original Message----- From: Eri...@al... [mailto:Eri...@al...] Sent: Friday, November 08, 2002 3:52 PM To: Brian Knorr; web...@li... Subject: RE: [Webunitproj-users] unit tests failing Brian, =20 Without your patches, I can get the unittests going without error. When I applied your code, I got a whole bunch of errors that are different than the ones you sent on 11/6 (see the forwarded email). Doron thinks it might be an IE version issue. What version of IE are you running? I'm running 5.5. =20 See the errors below. Thanks, --Erik =20 C:\jsource\webunit\cvs8\webunit>ant unittest from ant.bat Buildfile: build.xml =20 all: =20 init: [echo] ----->msjee: compileNotRequired:true [echo] ------------- WebUnit ------------- =20 [echo] PATH =3D ${env.PATH} [echo] j2ee.home =3D C:\j2sdkee1.3 [echo] java.home =3D c:\j2sdk1.4.1 [echo] ant.home =3D c:\jsource\ant\jakarta-ant-1.5Beta3 [echo] test.class =3D com.zeborg.webunit.WebUnitSuite [echo] --------------------------------------------- =20 unittest: [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9000 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9000 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9001 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9001 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9002 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9002 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9003 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9003 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9004 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9004 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9005 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9005 [java] Server:Starting Server-- [java] printStackTrace [java] com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) [java] toStrign(Th) [java] toString(Throwable) [java] toString(Throwable) [java] toString(Throwable) [java] Error invoking method:setOption er:java.rmi.RemoteException: Error invoking method:java.rmi.Remote Exception: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setOptionjava.lang.reflect .Invocat ionTargetException [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] RootCause:java.lang.RuntimeException: Error in click:com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) =20 [java] at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption (ExplorerNativeWebClient.java:622) [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] toStrign(Th) [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9006 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9006 [java] Server:Starting Server-- [java] printStackTrace [java] com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) [java] toStrign(Th) [java] toString(Throwable) [java] toString(Throwable) [java] toString(Throwable) [java] Error invoking method:setOption er:java.rmi.RemoteException: Error invoking method:java.rmi.Remote Exception: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setOptionjava.lang.reflect .Invocat ionTargetException [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] RootCause:java.lang.RuntimeException: Error in click:com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) =20 [java] at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption (ExplorerNativeWebClient.java:622) [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] toStrign(Th) [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9007 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9007 [java] Server:Starting Server-- [java] printStackTrace [java] com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) [java] toStrign(Th) [java] toString(Throwable) [java] toString(Throwable) [java] toString(Throwable) [java] Error invoking method:setOption er:java.rmi.RemoteException: Error invoking method:java.rmi.Remote Exception: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setOptionjava.lang.reflect .Invocat ionTargetException [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] RootCause:java.lang.RuntimeException: Error in click:com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) =20 [java] at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption (ExplorerNativeWebClient.java:622) [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] toStrign(Th) [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9008 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9008 [java] Server:Starting Server-- [java] toString(Throwable) [java] Error invoking method:setOption er:java.rmi.RemoteException: Error invoking method:java.rmi.Remote Exception: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setOptionjava.lang.reflect .Invocat ionTargetException [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] RootCause:java.lang.RuntimeException: Error in click:com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) =20 [java] at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption (ExplorerNativeWebClient.java:622) [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] printStackTrace [java] com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) [java] toStrign(Th) [java] toString(Throwable) [java] toString(Throwable)toStrign(Th) =20 [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9009 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9009 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9010 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9010 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9011 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9011 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9012 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9012 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9013 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9013 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9014 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9014 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9015 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9015 [java] Server:Starting Server-- [java] ......E.E.E.E....E... [java] Time: 18.897 [java] There were 5 errors: [java] 1) testEnable(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuff happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(NativeWebClientSt ub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWebClient.java :495) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisableTest.java:7 5) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisableTest.java:7 5) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 2) testCheckBoxClick(com.zeborg.webunit.EnableDisableTest) [java] *****RemoteProcess Client:Finalize: [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuff happened [java] Server:End Server Normal [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(NativeWebClientSt ub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWebClient.java :495) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(EnableDisableTest .java:157) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(EnableDisableTest .java:157) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 3) testCheckBoxClick2(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuff happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(NativeWebClientSt ub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWebClient.java :495) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(EnableDisableTes t.java:194) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(EnableDisableTes t.java:194) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 4) testCheckBoxClick_com(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuff happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(NativeWebClientSt ub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWebClient.java :495) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(EnableDisable Test.java:234) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(EnableDisable Test.java:234) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 5) testGetLinkByText(com.zeborg.webunit.WebLinkTest) [java] java.lang.RuntimeException: Item not found. PropName:text token: Next --> [java] at com.zeborg.webunit.util.DefaultWebTag.findFirst(DefaultWebTag.java:328) [java] at com.zeborg.webunit.util.DefaultWebTag.getLinkWith(DefaultWebTag.java:435 ) [java] at com.zeborg.webunit.util.DefaultWebTag.getLinkWithImageText(DefaultWebTag .java:441) [java] at com.zeborg.webunit.WebLinkTest.testGetLinkByText(WebLinkTest.java:154) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] FAILURES!!! [java] Tests run: 16, Failures: 0, Errors: 5 =20 =20 =20 C:\jsource\webunit\cvs8\webunit> -----Original Message----- From: Brian Knorr [mailto:bt...@ne...] Sent: Wednesday, November 06, 2002 12:50 PM To: web...@li... Cc: dg...@sh... Subject: [Webunitproj-users] unit tests failing I did a clean update and build from cvs and ran the unit tests... the following errors occurred... is this a known issue? Thanks. =20 [java] There were 4 errors: [java] 1) testEnable(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 2) testCheckBoxClick(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 3) testCheckBoxClick2(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 4) testCheckBoxClick_com(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] FAILURES!!! [java] Tests run: 16, Failures: 0, Errors: 4 |
From: <Eri...@al...> - 2002-11-08 21:54:27
|
Brian, =20 Without your patches, I can get the unittests going without error. When I applied your code, I got a whole bunch of errors that are different than the ones you sent on 11/6 (see the forwarded email). Doron thinks it might be an IE version issue. What version of IE are you running? I'm running 5.5. =20 See the errors below. Thanks, --Erik =20 C:\jsource\webunit\cvs8\webunit>ant unittest from ant.bat Buildfile: build.xml =20 all: =20 init: [echo] ----->msjee: compileNotRequired:true [echo] ------------- WebUnit ------------- =20 [echo] PATH =3D ${env.PATH} [echo] j2ee.home =3D C:\j2sdkee1.3 [echo] java.home =3D c:\j2sdk1.4.1 [echo] ant.home =3D c:\jsource\ant\jakarta-ant-1.5Beta3 [echo] test.class =3D com.zeborg.webunit.WebUnitSuite [echo] --------------------------------------------- =20 unittest: [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9000 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9000 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9001 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9001 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9002 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9002 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9003 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9003 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9004 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9004 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9005 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9005 [java] Server:Starting Server-- [java] printStackTrace [java] com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) [java] toStrign(Th) [java] toString(Throwable) [java] toString(Throwable) [java] toString(Throwable) [java] Error invoking method:setOption er:java.rmi.RemoteException: Error invoking method:java.rmi.Remote Exception: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setOptionjava.lang.reflect .Invocat ionTargetException [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] RootCause:java.lang.RuntimeException: Error in click:com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) =20 [java] at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption (ExplorerNativeWebClient.java:622) [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] toStrign(Th) [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9006 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9006 [java] Server:Starting Server-- [java] printStackTrace [java] com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) [java] toStrign(Th) [java] toString(Throwable) [java] toString(Throwable) [java] toString(Throwable) [java] Error invoking method:setOption er:java.rmi.RemoteException: Error invoking method:java.rmi.Remote Exception: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setOptionjava.lang.reflect .Invocat ionTargetException [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] RootCause:java.lang.RuntimeException: Error in click:com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) =20 [java] at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption (ExplorerNativeWebClient.java:622) [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] toStrign(Th) [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9007 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9007 [java] Server:Starting Server-- [java] printStackTrace [java] com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) [java] toStrign(Th) [java] toString(Throwable) [java] toString(Throwable) [java] toString(Throwable) [java] Error invoking method:setOption er:java.rmi.RemoteException: Error invoking method:java.rmi.Remote Exception: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setOptionjava.lang.reflect .Invocat ionTargetException [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] RootCause:java.lang.RuntimeException: Error in click:com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) =20 [java] at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption (ExplorerNativeWebClient.java:622) [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] toStrign(Th) [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9008 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9008 [java] Server:Starting Server-- [java] toString(Throwable) [java] Error invoking method:setOption er:java.rmi.RemoteException: Error invoking method:java.rmi.Remote Exception: Error on invoking: com.zeborg.webunit.ie.ExplorerNativeWebClient.setOptionjava.lang.reflect .Invocat ionTargetException [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] RootCause:java.lang.RuntimeException: Error in click:com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) =20 [java] at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption (ExplorerNativeWebClient.java:622) [java] at java/lang/reflect/Method.invoke (Method.java) [java] at com/zeborg/iorpc/RemoteProcessServer.process (RemoteProcessServer.java:125) [java] at com/zeborg/iorpc/RemoteProcessServer.run (RemoteProcessServer.java:179) [java] at com/zeborg/webunit/ie/ExplorerIORPCServer.main (ExplorerIORPCServer.java:35) =20 [java] printStackTrace [java] com.ms.com.ComFailException: (0x80070057) The parameter is incorrect. =20 [java] at mshtml/IHTMLElement3.FireEvent (IHTMLElement3.java) [java] toStrign(Th) [java] toString(Throwable) [java] toString(Throwable)toStrign(Th) =20 [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9009 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9009 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9010 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9010 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9011 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9011 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9012 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9012 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9013 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9013 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9014 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9014 [java] Server:Starting Server-- [java] args:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bun it\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9015 [java] Execing:wjview /vst -cp:p C:\jsource\webunit\cvs8\webunit\.\lib\rmi.zip;C:\jsource\webunit\cvs8\we bunit\.\build\app\webunit-ms.jar com.zeborg.webunit.ie.ExplorerIORPCServer 9015 [java] Server:Starting Server-- [java] ......E.E.E.E....E... [java] Time: 18.897 [java] There were 5 errors: [java] 1) testEnable(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuff happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(NativeWebClientSt ub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWebClient.java :495) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisableTest.java:7 5) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisableTest.java:7 5) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 2) testCheckBoxClick(com.zeborg.webunit.EnableDisableTest) [java] *****RemoteProcess Client:Finalize: [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuff happened [java] Server:End Server Normal [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(NativeWebClientSt ub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWebClient.java :495) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(EnableDisableTest .java:157) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(EnableDisableTest .java:157) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 3) testCheckBoxClick2(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuff happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(NativeWebClientSt ub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWebClient.java :495) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(EnableDisableTes t.java:194) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(EnableDisableTes t.java:194) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 4) testCheckBoxClick_com(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuff happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(NativeWebClientSt ub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWebClient.java :495) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(EnableDisable Test.java:234) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(DefaultWebCheckFie ld.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(EnableDisable Test.java:234) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 5) testGetLinkByText(com.zeborg.webunit.WebLinkTest) [java] java.lang.RuntimeException: Item not found. PropName:text token: Next --> [java] at com.zeborg.webunit.util.DefaultWebTag.findFirst(DefaultWebTag.java:328) [java] at com.zeborg.webunit.util.DefaultWebTag.getLinkWith(DefaultWebTag.java:435 ) [java] at com.zeborg.webunit.util.DefaultWebTag.getLinkWithImageText(DefaultWebTag .java:441) [java] at com.zeborg.webunit.WebLinkTest.testGetLinkByText(WebLinkTest.java:154) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] FAILURES!!! [java] Tests run: 16, Failures: 0, Errors: 5 =20 =20 =20 C:\jsource\webunit\cvs8\webunit> -----Original Message----- From: Brian Knorr [mailto:bt...@ne...] Sent: Wednesday, November 06, 2002 12:50 PM To: web...@li... Cc: dg...@sh... Subject: [Webunitproj-users] unit tests failing I did a clean update and build from cvs and ran the unit tests... the following errors occurred... is this a known issue? Thanks. =20 [java] There were 4 errors: [java] 1) testEnable(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 2) testCheckBoxClick(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 3) testCheckBoxClick2(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 4) testCheckBoxClick_com(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] FAILURES!!! [java] Tests run: 16, Failures: 0, Errors: 4 |
From: Brian K. <bt...@ne...> - 2002-11-07 22:53:42
|
Is there a way to get the org.w3c.dom.Document from the WebResponse? We would like to run xpath expressions on it... please advise... thanks, =20 Brian |
From: <Eri...@al...> - 2002-11-07 14:28:55
|
Look at com.zeborg.pseudoserver.PseudoServer. =20 I love Tomcat. If it can do a few tricks that PseudoServer can do, let's use it. =20 In a single JUnit test, PseudoServer allows you to both define an html page and submit a request for that same page. Here is an example from com.zeborg.EnableDisableTest =20 /** Test test starts with an unchecked checkbox and then * places a check in the box. */ public void testCheckBoxClick() throws Exception { =20 defineWebPage( "SimpleCheckBox",=20 "<form><H1>Checkbox Test</H1><input type=3D'checkbox' name=3D'myCheckBox'></form>"); =20 _wc.openPage( getHostPath() + "/SimpleCheckBox.html" ); WebResponse page =3D _wc.getCurrentState(); //System.out.println("here is the raw HTML [" + page.getText() + "]"); =20 WebCheckField checkBox =3D page.getForms()[0].getCheckBox("myCheckBox",WebTag.FIND_EQUALS); -----Original Message----- From: Doron [mailto:dg...@sh...] Sent: Wednesday, November 06, 2002 10:49 PM To: Ostermueller, Erik; bt...@ne...; web...@li... Subject: RE: [Webunitproj-users] unit tests failing Hi Erik, =20 I'm not sure what the pseudo-server is. I assume its a simple http server. I would suggest we look into using JBoss/Tomcat for the test app. We've been doing lots of work with this over the past year and its really great and easy. =20 -Doron =20 -----Original Message----- From: web...@li... [mailto:web...@li...]On Behalf Of Eri...@al... Sent: Wednesday, November 06, 2002 2:06 PM To: bt...@ne...; web...@li... Subject: RE: [Webunitproj-users] unit tests failing Brian, =20 Read my comment attached to the only patch on the patches section (613945) of the sf. site. =20 The short (and ugly) version of the story is, run the unit tests another time or two and the error will go away. =20 This is a bug in the PseudoServer component we inherited from HttpUnit. =20 --Erik -----Original Message----- From: Brian Knorr [mailto:bt...@ne...] Sent: Wednesday, November 06, 2002 12:50 PM To: web...@li... Cc: dg...@sh... Subject: [Webunitproj-users] unit tests failing I did a clean update and build from cvs and ran the unit tests... the following errors occurred... is this a known issue? Thanks. =20 [java] There were 4 errors: [java] 1) testEnable(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 2) testCheckBoxClick(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 3) testCheckBoxClick2(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 4) testCheckBoxClick_com(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] FAILURES!!! [java] Tests run: 16, Failures: 0, Errors: 4 |
From: Doron <dg...@sh...> - 2002-11-07 04:41:28
|
Hi Erik, I'm not sure what the pseudo-server is. I assume its a simple http server. I would suggest we look into using JBoss/Tomcat for the test app. We've been doing lots of work with this over the past year and its really great and easy. -Doron -----Original Message----- From: web...@li... [mailto:web...@li...]On Behalf Of Eri...@al... Sent: Wednesday, November 06, 2002 2:06 PM To: bt...@ne...; web...@li... Subject: RE: [Webunitproj-users] unit tests failing Brian, Read my comment attached to the only patch on the patches section (613945) of the sf. site. The short (and ugly) version of the story is, run the unit tests another time or two and the error will go away. This is a bug in the PseudoServer component we inherited from HttpUnit. --Erik -----Original Message----- From: Brian Knorr [mailto:bt...@ne...] Sent: Wednesday, November 06, 2002 12:50 PM To: web...@li... Cc: dg...@sh... Subject: [Webunitproj-users] unit tests failing I did a clean update and build from cvs and ran the unit tests the following errors occurred is this a known issue? Thanks. [java] There were 4 errors: [java] 1) testEnable(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 2) testCheckBoxClick(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 3) testCheckBoxClick2(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 4) testCheckBoxClick_com(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] FAILURES!!! [java] Tests run: 16, Failures: 0, Errors: 4 |
From: Brian K. <bt...@ne...> - 2002-11-06 19:47:58
|
Patch # 634618 was submitted to the patches section of sourceforge... here are the details... thanks. =20 The following files were changed inorder to support the=20 new method getTagText() on WebTag. This method will=20 return the inner html of the tag. WebLink and=20 WebOptionField now use this method as well. WebLink=20 WebTag=20 WebOptionField=20 DefaultWebTag=20 DefaultSubmitButton=20 DefaultTableCell=20 DefaultTableRow=20 DefaultWebCheckField=20 DefaultWebLink=20 DefaultWebSelectField=20 DefaultWebTable=20 DefaultWebTextField=20 DefaultWebOptionField=20 DefaultWebForm=20 DefaultWebFrame=20 ExplorerNativeWebClient=20 DefaultWebClient=20 Thanks,=20 Brian |
From: <Eri...@al...> - 2002-11-06 19:08:35
|
Brian, =20 Read my comment attached to the only patch on the patches section (613945) of the sf. site. =20 The short (and ugly) version of the story is, run the unit tests another time or two and the error will go away. =20 This is a bug in the PseudoServer component we inherited from HttpUnit. =20 --Erik -----Original Message----- From: Brian Knorr [mailto:bt...@ne...] Sent: Wednesday, November 06, 2002 12:50 PM To: web...@li... Cc: dg...@sh... Subject: [Webunitproj-users] unit tests failing I did a clean update and build from cvs and ran the unit tests... the following errors occurred... is this a known issue? Thanks. =20 [java] There were 4 errors: [java] 1) testEnable(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 2) testCheckBoxClick(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 3) testCheckBoxClick2(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 4) testCheckBoxClick_com(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] FAILURES!!! [java] Tests run: 16, Failures: 0, Errors: 4 |
From: Brian K. <bt...@ne...> - 2002-11-06 18:50:20
|
I did a clean update and build from cvs and ran the unit tests... the following errors occurred... is this a known issue? Thanks. =20 [java] There were 4 errors: [java] 1) testEnable(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testEnable(EnableDisable Test.java:75) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 2) testCheckBoxClick(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick(Enable DisableTest.java:157) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 3) testCheckBoxClick2(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick2(Enabl eDisableTest.java:194) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) [java] 4) testCheckBoxClick_com(com.zeborg.webunit.EnableDisableTest) [java] java.lang.RuntimeException: Error:java.rmi.RemoteException: Bad Stuf f happened [java] at com.zeborg.iorpc.Stub.inokeMethod(Stub.java:46) [java] at com.zeborg.webunit.iorpc.NativeWebClientStub.setOption(Native WebClientStub.java:95) [java] at com.zeborg.webunit.util.DefaultWebClient.setOption(DefaultWeb Client.java:496) [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:37) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] at com.zeborg.webunit.util.DefaultWebCheckField.setValue(Default WebCheckField.java:41) [java] at com.zeborg.webunit.EnableDisableTest.testCheckBoxClick_com(En ableDisableTest.java:234) [java] at com.zeborg.webunit.WebUnitSuite.main(WebUnitSuite.java:37) =20 [java] FAILURES!!! [java] Tests run: 16, Failures: 0, Errors: 4 |
From: Doron <dg...@sh...> - 2002-11-06 15:53:45
|
Hi, Lets keep this simple. The "inner HTML" is basically everything inside the HTML tag. This means that if there is more than just plain text, it will be the actual HTML inside that tag. This is as far as we should go with this because that is basically how the browsers behave as well. See further comments below --> -Doron On Wed, 2002-11-06 at 10:10, Eri...@al... wrote: > BK wrote: > >> Is there a way to get the inner text from a Webtag? > Looking at thet code, I don't see it. > > >>I noticed the WebOptionField class provides this > Also, DefaultWebTextField and DefaultTableCell provide this. > > >>however we would like to grab the inner text from any tag > What should the code return for multiple items selected in list box? A > comma or space delimited list? That doesn't sound right. ->> Its just the HTML text inside the "select" tag. > What should the code return with multiple rows/columns in a table? ->> Whatever the text is inside the <TABLE> tag. > What should the code return for nested data? -- what if the <div> has > nested tags? Should the nested data also be returned? ->> Yes, the nested data should be returned. > > What do you all think? > How does HttpUnit expose this text? > > > > -----Original Message----- > From: Brian Knorr [mailto:bt...@ne...] > Sent: Tuesday, November 05, 2002 5:38 PM > To: web...@li... > Cc: dg...@sh... > Subject: [Webunitproj-users] how to retreive inner text from WebTag? > > > > Is there a way to get the inner text from a Webtag? I noticed the > WebOptionField class provides this, however we would like to grab the > inner text from any tag... for example, if we have the following <div > id="orderNumber">1234567</div> we would like to be able to grab the > inner text "1234567". Currently this is halting our progress... please > advise.... thanks. > > > > Brian > > |
From: <Eri...@al...> - 2002-11-06 15:12:48
|
BK wrote: >> Is there a way to get the inner text from a Webtag? Looking at thet code, I don't see it. =20 >>I noticed the WebOptionField class provides this Also, DefaultWebTextField and DefaultTableCell provide this. =20 >>however we would like to grab the inner text from any tag What should the code return for multiple items selected in list box? A comma or space delimited list? That doesn't sound right. What should the code return with multiple rows/columns in a table? What should the code return for nested data? -- what if the <div> has nested tags? Should the nested data also be returned? =20 What do you all think? How does HttpUnit expose this text? =20 =20 -----Original Message----- From: Brian Knorr [mailto:bt...@ne...] Sent: Tuesday, November 05, 2002 5:38 PM To: web...@li... Cc: dg...@sh... Subject: [Webunitproj-users] how to retreive inner text from WebTag? Is there a way to get the inner text from a Webtag? I noticed the WebOptionField class provides this, however we would like to grab the inner text from any tag... for example, if we have the following <div id=3D"orderNumber">1234567</div> we would like to be able to grab the inner text "1234567". Currently this is halting our progress... please advise.... thanks. =20 Brian |
From: Doron <dg...@sh...> - 2002-11-06 15:03:43
|
Hi Brian, Yes, there is a way, but it requires you to make some changes (which we'll add back to cvs). I assume you simply want to select the DIV in which case using the "ID" is much better. If its to actually check for expected data then that's a different story. So to make this happen: 1)Change the DefaultWebTag to take in tagText. 2)Change WebTag interface to add a method "getTagText()" 3)Change the code in the areas the compiler will complain about so that tag text is passed in. You can also change the WebOption class to use the stuff that comes from the DefaultWebTag since it is a subclass of that. If you have any questions, please let me know. -Doron p.s. Please post your changes (to any of the Java files) in the patches area and send a note to the list. This will make Erik or I add the changes to CVS. On Tue, 2002-11-05 at 18:37, Brian Knorr wrote: > Is there a way to get the inner text from a Webtag? I noticed the > WebOptionField class provides this, however we would like to grab the > inner text from any tag... for example, if we have the following <div > id="orderNumber">1234567</div> we would like to be able to grab the > inner text "1234567". Currently this is halting our progress... please > advise.... thanks. > > > > Brian > > |
From: Brian K. <bt...@ne...> - 2002-11-05 23:38:02
|
Is there a way to get the inner text from a Webtag? I noticed the WebOptionField class provides this, however we would like to grab the inner text from any tag... for example, if we have the following <div id=3D"orderNumber">1234567</div> we would like to be able to grab the inner text "1234567". Currently this is halting our progress... please advise.... thanks. =20 Brian |
From: Brian K. <bt...@ne...> - 2002-11-05 15:12:39
|
We also added the "onkeydown" event to fire when setting text on an input... we appended the following line to the method described in the email below... thanks. el3.FireEvent("ONKEYDOWN",new Variant(ev)); -----Original Message----- From: Brian Knorr=20 Sent: Monday, November 04, 2002 10:48 AM To: 'Doron' Cc: web...@li... Subject: RE: enterprise web test Thanks... we built from cvs and were able to change the code so the "onchange" event is firing. We also added the "onblur" event. We changed the class com.zeborg.webunit.ie.ExplorerNativeWebClient by appending the following two lines of code at the end of the method setText(WebTag tag, String text): el3.FireEvent("ONCHANGE",new Variant(ev)); el3.FireEvent("ONBLUR",new Variant(ev)); If this is correct, please incorporate these into cvs for the next release... thanks, Brian -----Original Message----- From: Doron [mailto:dg...@sh...]=20 Sent: Monday, November 04, 2002 10:04 AM To: Brian Knorr Cc: web...@li... Subject: RE: enterprise web test Hi Brian, I think actually I was incorrect. The set text triggers a key up event. You'll need to modify the code to add the onChange event (It should be very obvious how to do this if you look at the set text code). I suggest you build from CVS as this will allow you guys to tweak the code(ofcourse we'll incorporate any fixes/enhancements into the CVS tree). -Doron On Mon, 2002-11-04 at 10:44, Brian Knorr wrote: > Is there a new release available for this, or do we have to build from > cvs to get this functionality? We are using 1.02 and are finding that > setValue places the text in the input field correctly, however it isn't > triggering the "onchange" event. Please advise... thanks, >=20 > Brian >=20 >=20 > -----Original Message----- > From: Doron [mailto:dg...@sh...]=20 > Sent: Monday, November 04, 2002 7:18 AM > To: Brian Knorr > Cc: web...@li... > Subject: RE: enterprise web test >=20 > Hi Brian, >=20 > The webunit code will trigger an OnChange event when you do a > setValue() on the input tag. If you look at the web unit code, what this > does is actually generate that event explicitly. So ideally you could > generate the event explicitly but with the current code the side-effect > of a setValue on a text field will do it. >=20 > -Doron >=20 >=20 > On Fri, 2002-11-01 at 17:02, Brian Knorr wrote: > > Thanks for the info... we started writing some tests using Web Unit > and > > we have made some really good progress using the system as is. We > just > > ran into our first hurdle though -- we have a single input field on a > > page that utilizes the "onchange" javascript event when a user tabs > out > > of the field. However with web unit we can't find a way to "tab out" > > of the field, especially since this is the only field on the page. > Any > > ideas on how we could get this working... thanks, > >=20 > > Brian > >=20 > > -----Original Message----- > > From: Doron [mailto:dg...@sh...]=20 > > Sent: Friday, November 01, 2002 10:54 AM > > To: Brian Knorr > > Cc: web...@li... > > Subject: RE: enterprise web test > >=20 > > Hi Brian, > >=20 > > First you need to generate a test case (that generates some > > dynamic > > HTML based on a javascript event (like a button push). Then the test > > case needs to use web unit to drive the page, pressing the button, and > > then trying to do something else on the generated html (like pressing > a > > button) This will cover the dynamic HTML test case. > >=20 > > The second part you should probably have all the events that you > > will > > need but if not we can add an API to generate all the HTML events for > > each HTML component which will allow you to generate all events > without > > having to modify web-unit. > >=20 > > So you have two options on how to get this done: > >=20 > > 1) You can code it yourself (its not too hard). > >=20 > > OR > > =09 > > 2) You can send us the test case and we can add/fix code to make > > sure > > it works. This method depends on us having some free time to code this > > up. Erik seems to have more time than I do these days. However, it > > should take 1-2 weeks to do it worst case (very conservative > estimate). > >=20 > > =09 > > -Doron > >=20 > >=20 > > On Fri, 2002-11-01 at 11:11, Brian Knorr wrote: > > > Great... we are really looking forward to using web unit for testing > > our > > > applications, and it sounds like with just a little work, Web Unit > > could > > > fully satisfy our testing needs. What is the process to have the > > > remaining javascript events supported, as well as dhtml? Any idea > on > > a > > > timeframe we could be looking at for a release of these new > features? > > >=20 > > > Thanks, > > >=20 > > > Brian > > >=20 > > >=20 > > >=20 > > > -----Original Message----- > > > From: Doron [mailto:dg...@sh...]=20 > > > Sent: Friday, November 01, 2002 6:55 AM > > > To: Brian Knorr > > > Subject: Re: enterprise web test > > >=20 > > > Hi Brian, > > >=20 > > > Web unit supports complex java script since it really is NOT > > > involved > > > in processing (I.E. does the work). Web unit can be used to > actually > > > generate any event on any HTML component but right now it just does > > the > > > simple stuff (like onChange on a select when the code changes the > > value > > > of a select field and key up on a text field change when the code > > > changes the text value). More events can be added easily. > > >=20 > > > As for dynamic HTML, it may be necessary to add a tiny bit of > > > code to > > > tell WebUnit NOT to cache the text of an HTML page once it is > received > > > from the server since it can change via DHTML. This will slow things > > > down some (depending on how big the HTML is) but it will work. > > >=20 > > > -Doron > > >=20 > > >=20 > > > On Thu, 2002-10-31 at 17:28, Brian Knorr wrote: > > > > Hello there... > > > >=20 > > > > =20 > > > >=20 > > > > We are looking at the various open source testing tools and came > > > across > > > > Enterprise Web Test... from what we have read and seen it looks > very > > > > promising. Quick question: we are creating a very > javascript/dtml > > > > intensive application tailored for Internet Explorer 5.5+... does > > > > Enterprise Web Test support complex javascript and dhtml > > (manipulating > > > > the dom, triggering off of all available events, etc...)? If not, > > how > > > > difficult would it be to fully support all the javascript that IE > > has > > > to > > > > offer? Please let me know what you think... thanks, > > > >=20 > > > > =20 > > > >=20 > > > > Brian > > > >=20 > > >=20 > > >=20 > >=20 > >=20 >=20 >=20 |
From: Brian K. <bt...@ne...> - 2002-11-04 17:33:44
|
We have found that <input type=3Dsubmit> is modeled by the class SubmitButton, however <input type=3Dbutton> is modeled by the class WebTextField. Is this correct or should there be a separate class added to model type=3Dbutton? It just took us a while to figure out why findFirst() was throwing a class cast exception when finding type=3Dbutton, we assumed it was modeled by SubmitButton. =20 Thanks, =20 Brian |
From: Brian K. <bt...@ne...> - 2002-11-04 16:48:31
|
Thanks... we built from cvs and were able to change the code so the "onchange" event is firing. We also added the "onblur" event. We changed the class com.zeborg.webunit.ie.ExplorerNativeWebClient by appending the following two lines of code at the end of the method setText(WebTag tag, String text): el3.FireEvent("ONCHANGE",new Variant(ev)); el3.FireEvent("ONBLUR",new Variant(ev)); If this is correct, please incorporate these into cvs for the next release... thanks, Brian -----Original Message----- From: Doron [mailto:dg...@sh...]=20 Sent: Monday, November 04, 2002 10:04 AM To: Brian Knorr Cc: web...@li... Subject: RE: enterprise web test Hi Brian, I think actually I was incorrect. The set text triggers a key up event. You'll need to modify the code to add the onChange event (It should be very obvious how to do this if you look at the set text code). I suggest you build from CVS as this will allow you guys to tweak the code(ofcourse we'll incorporate any fixes/enhancements into the CVS tree). -Doron On Mon, 2002-11-04 at 10:44, Brian Knorr wrote: > Is there a new release available for this, or do we have to build from > cvs to get this functionality? We are using 1.02 and are finding that > setValue places the text in the input field correctly, however it isn't > triggering the "onchange" event. Please advise... thanks, >=20 > Brian >=20 >=20 > -----Original Message----- > From: Doron [mailto:dg...@sh...]=20 > Sent: Monday, November 04, 2002 7:18 AM > To: Brian Knorr > Cc: web...@li... > Subject: RE: enterprise web test >=20 > Hi Brian, >=20 > The webunit code will trigger an OnChange event when you do a > setValue() on the input tag. If you look at the web unit code, what this > does is actually generate that event explicitly. So ideally you could > generate the event explicitly but with the current code the side-effect > of a setValue on a text field will do it. >=20 > -Doron >=20 >=20 > On Fri, 2002-11-01 at 17:02, Brian Knorr wrote: > > Thanks for the info... we started writing some tests using Web Unit > and > > we have made some really good progress using the system as is. We > just > > ran into our first hurdle though -- we have a single input field on a > > page that utilizes the "onchange" javascript event when a user tabs > out > > of the field. However with web unit we can't find a way to "tab out" > > of the field, especially since this is the only field on the page. > Any > > ideas on how we could get this working... thanks, > >=20 > > Brian > >=20 > > -----Original Message----- > > From: Doron [mailto:dg...@sh...]=20 > > Sent: Friday, November 01, 2002 10:54 AM > > To: Brian Knorr > > Cc: web...@li... > > Subject: RE: enterprise web test > >=20 > > Hi Brian, > >=20 > > First you need to generate a test case (that generates some > > dynamic > > HTML based on a javascript event (like a button push). Then the test > > case needs to use web unit to drive the page, pressing the button, and > > then trying to do something else on the generated html (like pressing > a > > button) This will cover the dynamic HTML test case. > >=20 > > The second part you should probably have all the events that you > > will > > need but if not we can add an API to generate all the HTML events for > > each HTML component which will allow you to generate all events > without > > having to modify web-unit. > >=20 > > So you have two options on how to get this done: > >=20 > > 1) You can code it yourself (its not too hard). > >=20 > > OR > > =09 > > 2) You can send us the test case and we can add/fix code to make > > sure > > it works. This method depends on us having some free time to code this > > up. Erik seems to have more time than I do these days. However, it > > should take 1-2 weeks to do it worst case (very conservative > estimate). > >=20 > > =09 > > -Doron > >=20 > >=20 > > On Fri, 2002-11-01 at 11:11, Brian Knorr wrote: > > > Great... we are really looking forward to using web unit for testing > > our > > > applications, and it sounds like with just a little work, Web Unit > > could > > > fully satisfy our testing needs. What is the process to have the > > > remaining javascript events supported, as well as dhtml? Any idea > on > > a > > > timeframe we could be looking at for a release of these new > features? > > >=20 > > > Thanks, > > >=20 > > > Brian > > >=20 > > >=20 > > >=20 > > > -----Original Message----- > > > From: Doron [mailto:dg...@sh...]=20 > > > Sent: Friday, November 01, 2002 6:55 AM > > > To: Brian Knorr > > > Subject: Re: enterprise web test > > >=20 > > > Hi Brian, > > >=20 > > > Web unit supports complex java script since it really is NOT > > > involved > > > in processing (I.E. does the work). Web unit can be used to > actually > > > generate any event on any HTML component but right now it just does > > the > > > simple stuff (like onChange on a select when the code changes the > > value > > > of a select field and key up on a text field change when the code > > > changes the text value). More events can be added easily. > > >=20 > > > As for dynamic HTML, it may be necessary to add a tiny bit of > > > code to > > > tell WebUnit NOT to cache the text of an HTML page once it is > received > > > from the server since it can change via DHTML. This will slow things > > > down some (depending on how big the HTML is) but it will work. > > >=20 > > > -Doron > > >=20 > > >=20 > > > On Thu, 2002-10-31 at 17:28, Brian Knorr wrote: > > > > Hello there... > > > >=20 > > > > =20 > > > >=20 > > > > We are looking at the various open source testing tools and came > > > across > > > > Enterprise Web Test... from what we have read and seen it looks > very > > > > promising. Quick question: we are creating a very > javascript/dtml > > > > intensive application tailored for Internet Explorer 5.5+... does > > > > Enterprise Web Test support complex javascript and dhtml > > (manipulating > > > > the dom, triggering off of all available events, etc...)? If not, > > how > > > > difficult would it be to fully support all the javascript that IE > > has > > > to > > > > offer? Please let me know what you think... thanks, > > > >=20 > > > > =20 > > > >=20 > > > > Brian > > > >=20 > > >=20 > > >=20 > >=20 > >=20 >=20 >=20 |
From: Doron <dg...@sh...> - 2002-11-04 16:04:17
|
Hi Brian, I think actually I was incorrect. The set text triggers a key up event. You'll need to modify the code to add the onChange event (It should be very obvious how to do this if you look at the set text code). I suggest you build from CVS as this will allow you guys to tweak the code(ofcourse we'll incorporate any fixes/enhancements into the CVS tree). -Doron On Mon, 2002-11-04 at 10:44, Brian Knorr wrote: > Is there a new release available for this, or do we have to build from > cvs to get this functionality? We are using 1.02 and are finding that > setValue places the text in the input field correctly, however it isn't > triggering the "onchange" event. Please advise... thanks, > > Brian > > > -----Original Message----- > From: Doron [mailto:dg...@sh...] > Sent: Monday, November 04, 2002 7:18 AM > To: Brian Knorr > Cc: web...@li... > Subject: RE: enterprise web test > > Hi Brian, > > The webunit code will trigger an OnChange event when you do a > setValue() on the input tag. If you look at the web unit code, what this > does is actually generate that event explicitly. So ideally you could > generate the event explicitly but with the current code the side-effect > of a setValue on a text field will do it. > > -Doron > > > On Fri, 2002-11-01 at 17:02, Brian Knorr wrote: > > Thanks for the info... we started writing some tests using Web Unit > and > > we have made some really good progress using the system as is. We > just > > ran into our first hurdle though -- we have a single input field on a > > page that utilizes the "onchange" javascript event when a user tabs > out > > of the field. However with web unit we can't find a way to "tab out" > > of the field, especially since this is the only field on the page. > Any > > ideas on how we could get this working... thanks, > > > > Brian > > > > -----Original Message----- > > From: Doron [mailto:dg...@sh...] > > Sent: Friday, November 01, 2002 10:54 AM > > To: Brian Knorr > > Cc: web...@li... > > Subject: RE: enterprise web test > > > > Hi Brian, > > > > First you need to generate a test case (that generates some > > dynamic > > HTML based on a javascript event (like a button push). Then the test > > case needs to use web unit to drive the page, pressing the button, and > > then trying to do something else on the generated html (like pressing > a > > button) This will cover the dynamic HTML test case. > > > > The second part you should probably have all the events that you > > will > > need but if not we can add an API to generate all the HTML events for > > each HTML component which will allow you to generate all events > without > > having to modify web-unit. > > > > So you have two options on how to get this done: > > > > 1) You can code it yourself (its not too hard). > > > > OR > > > > 2) You can send us the test case and we can add/fix code to make > > sure > > it works. This method depends on us having some free time to code this > > up. Erik seems to have more time than I do these days. However, it > > should take 1-2 weeks to do it worst case (very conservative > estimate). > > > > > > -Doron > > > > > > On Fri, 2002-11-01 at 11:11, Brian Knorr wrote: > > > Great... we are really looking forward to using web unit for testing > > our > > > applications, and it sounds like with just a little work, Web Unit > > could > > > fully satisfy our testing needs. What is the process to have the > > > remaining javascript events supported, as well as dhtml? Any idea > on > > a > > > timeframe we could be looking at for a release of these new > features? > > > > > > Thanks, > > > > > > Brian > > > > > > > > > > > > -----Original Message----- > > > From: Doron [mailto:dg...@sh...] > > > Sent: Friday, November 01, 2002 6:55 AM > > > To: Brian Knorr > > > Subject: Re: enterprise web test > > > > > > Hi Brian, > > > > > > Web unit supports complex java script since it really is NOT > > > involved > > > in processing (I.E. does the work). Web unit can be used to > actually > > > generate any event on any HTML component but right now it just does > > the > > > simple stuff (like onChange on a select when the code changes the > > value > > > of a select field and key up on a text field change when the code > > > changes the text value). More events can be added easily. > > > > > > As for dynamic HTML, it may be necessary to add a tiny bit of > > > code to > > > tell WebUnit NOT to cache the text of an HTML page once it is > received > > > from the server since it can change via DHTML. This will slow things > > > down some (depending on how big the HTML is) but it will work. > > > > > > -Doron > > > > > > > > > On Thu, 2002-10-31 at 17:28, Brian Knorr wrote: > > > > Hello there... > > > > > > > > > > > > > > > > We are looking at the various open source testing tools and came > > > across > > > > Enterprise Web Test... from what we have read and seen it looks > very > > > > promising. Quick question: we are creating a very > javascript/dtml > > > > intensive application tailored for Internet Explorer 5.5+... does > > > > Enterprise Web Test support complex javascript and dhtml > > (manipulating > > > > the dom, triggering off of all available events, etc...)? If not, > > how > > > > difficult would it be to fully support all the javascript that IE > > has > > > to > > > > offer? Please let me know what you think... thanks, > > > > > > > > > > > > > > > > Brian > > > > > > > > > > > > > > > > |
From: Brian K. <bt...@ne...> - 2002-11-04 15:44:13
|
Is there a new release available for this, or do we have to build from cvs to get this functionality? We are using 1.02 and are finding that setValue places the text in the input field correctly, however it isn't triggering the "onchange" event. Please advise... thanks, Brian -----Original Message----- From: Doron [mailto:dg...@sh...]=20 Sent: Monday, November 04, 2002 7:18 AM To: Brian Knorr Cc: web...@li... Subject: RE: enterprise web test Hi Brian, The webunit code will trigger an OnChange event when you do a setValue() on the input tag. If you look at the web unit code, what this does is actually generate that event explicitly. So ideally you could generate the event explicitly but with the current code the side-effect of a setValue on a text field will do it. -Doron On Fri, 2002-11-01 at 17:02, Brian Knorr wrote: > Thanks for the info... we started writing some tests using Web Unit and > we have made some really good progress using the system as is. We just > ran into our first hurdle though -- we have a single input field on a > page that utilizes the "onchange" javascript event when a user tabs out > of the field. However with web unit we can't find a way to "tab out" > of the field, especially since this is the only field on the page. Any > ideas on how we could get this working... thanks, >=20 > Brian >=20 > -----Original Message----- > From: Doron [mailto:dg...@sh...]=20 > Sent: Friday, November 01, 2002 10:54 AM > To: Brian Knorr > Cc: web...@li... > Subject: RE: enterprise web test >=20 > Hi Brian, >=20 > First you need to generate a test case (that generates some > dynamic > HTML based on a javascript event (like a button push). Then the test > case needs to use web unit to drive the page, pressing the button, and > then trying to do something else on the generated html (like pressing a > button) This will cover the dynamic HTML test case. >=20 > The second part you should probably have all the events that you > will > need but if not we can add an API to generate all the HTML events for > each HTML component which will allow you to generate all events without > having to modify web-unit. >=20 > So you have two options on how to get this done: >=20 > 1) You can code it yourself (its not too hard). >=20 > OR > =09 > 2) You can send us the test case and we can add/fix code to make > sure > it works. This method depends on us having some free time to code this > up. Erik seems to have more time than I do these days. However, it > should take 1-2 weeks to do it worst case (very conservative estimate). >=20 > =09 > -Doron >=20 >=20 > On Fri, 2002-11-01 at 11:11, Brian Knorr wrote: > > Great... we are really looking forward to using web unit for testing > our > > applications, and it sounds like with just a little work, Web Unit > could > > fully satisfy our testing needs. What is the process to have the > > remaining javascript events supported, as well as dhtml? Any idea on > a > > timeframe we could be looking at for a release of these new features? > >=20 > > Thanks, > >=20 > > Brian > >=20 > >=20 > >=20 > > -----Original Message----- > > From: Doron [mailto:dg...@sh...]=20 > > Sent: Friday, November 01, 2002 6:55 AM > > To: Brian Knorr > > Subject: Re: enterprise web test > >=20 > > Hi Brian, > >=20 > > Web unit supports complex java script since it really is NOT > > involved > > in processing (I.E. does the work). Web unit can be used to actually > > generate any event on any HTML component but right now it just does > the > > simple stuff (like onChange on a select when the code changes the > value > > of a select field and key up on a text field change when the code > > changes the text value). More events can be added easily. > >=20 > > As for dynamic HTML, it may be necessary to add a tiny bit of > > code to > > tell WebUnit NOT to cache the text of an HTML page once it is received > > from the server since it can change via DHTML. This will slow things > > down some (depending on how big the HTML is) but it will work. > >=20 > > -Doron > >=20 > >=20 > > On Thu, 2002-10-31 at 17:28, Brian Knorr wrote: > > > Hello there... > > >=20 > > > =20 > > >=20 > > > We are looking at the various open source testing tools and came > > across > > > Enterprise Web Test... from what we have read and seen it looks very > > > promising. Quick question: we are creating a very javascript/dtml > > > intensive application tailored for Internet Explorer 5.5+... does > > > Enterprise Web Test support complex javascript and dhtml > (manipulating > > > the dom, triggering off of all available events, etc...)? If not, > how > > > difficult would it be to fully support all the javascript that IE > has > > to > > > offer? Please let me know what you think... thanks, > > >=20 > > > =20 > > >=20 > > > Brian > > >=20 > >=20 > >=20 >=20 >=20 |
From: Doron <dg...@sh...> - 2002-11-04 13:17:57
|
Hi Brian, The webunit code will trigger an OnChange event when you do a setValue() on the input tag. If you look at the web unit code, what this does is actually generate that event explicitly. So ideally you could generate the event explicitly but with the current code the side-effect of a setValue on a text field will do it. -Doron On Fri, 2002-11-01 at 17:02, Brian Knorr wrote: > Thanks for the info... we started writing some tests using Web Unit and > we have made some really good progress using the system as is. We just > ran into our first hurdle though -- we have a single input field on a > page that utilizes the "onchange" javascript event when a user tabs out > of the field. However with web unit we can't find a way to "tab out" > of the field, especially since this is the only field on the page. Any > ideas on how we could get this working... thanks, > > Brian > > -----Original Message----- > From: Doron [mailto:dg...@sh...] > Sent: Friday, November 01, 2002 10:54 AM > To: Brian Knorr > Cc: web...@li... > Subject: RE: enterprise web test > > Hi Brian, > > First you need to generate a test case (that generates some > dynamic > HTML based on a javascript event (like a button push). Then the test > case needs to use web unit to drive the page, pressing the button, and > then trying to do something else on the generated html (like pressing a > button) This will cover the dynamic HTML test case. > > The second part you should probably have all the events that you > will > need but if not we can add an API to generate all the HTML events for > each HTML component which will allow you to generate all events without > having to modify web-unit. > > So you have two options on how to get this done: > > 1) You can code it yourself (its not too hard). > > OR > > 2) You can send us the test case and we can add/fix code to make > sure > it works. This method depends on us having some free time to code this > up. Erik seems to have more time than I do these days. However, it > should take 1-2 weeks to do it worst case (very conservative estimate). > > > -Doron > > > On Fri, 2002-11-01 at 11:11, Brian Knorr wrote: > > Great... we are really looking forward to using web unit for testing > our > > applications, and it sounds like with just a little work, Web Unit > could > > fully satisfy our testing needs. What is the process to have the > > remaining javascript events supported, as well as dhtml? Any idea on > a > > timeframe we could be looking at for a release of these new features? > > > > Thanks, > > > > Brian > > > > > > > > -----Original Message----- > > From: Doron [mailto:dg...@sh...] > > Sent: Friday, November 01, 2002 6:55 AM > > To: Brian Knorr > > Subject: Re: enterprise web test > > > > Hi Brian, > > > > Web unit supports complex java script since it really is NOT > > involved > > in processing (I.E. does the work). Web unit can be used to actually > > generate any event on any HTML component but right now it just does > the > > simple stuff (like onChange on a select when the code changes the > value > > of a select field and key up on a text field change when the code > > changes the text value). More events can be added easily. > > > > As for dynamic HTML, it may be necessary to add a tiny bit of > > code to > > tell WebUnit NOT to cache the text of an HTML page once it is received > > from the server since it can change via DHTML. This will slow things > > down some (depending on how big the HTML is) but it will work. > > > > -Doron > > > > > > On Thu, 2002-10-31 at 17:28, Brian Knorr wrote: > > > Hello there... > > > > > > > > > > > > We are looking at the various open source testing tools and came > > across > > > Enterprise Web Test... from what we have read and seen it looks very > > > promising. Quick question: we are creating a very javascript/dtml > > > intensive application tailored for Internet Explorer 5.5+... does > > > Enterprise Web Test support complex javascript and dhtml > (manipulating > > > the dom, triggering off of all available events, etc...)? If not, > how > > > difficult would it be to fully support all the javascript that IE > has > > to > > > offer? Please let me know what you think... thanks, > > > > > > > > > > > > Brian > > > > > > > > > |
From: Brian K. <bt...@ne...> - 2002-11-01 22:02:53
|
Thanks for the info... we started writing some tests using Web Unit and we have made some really good progress using the system as is. We just ran into our first hurdle though -- we have a single input field on a page that utilizes the "onchange" javascript event when a user tabs out of the field. However with web unit we can't find a way to "tab out" of the field, especially since this is the only field on the page. Any ideas on how we could get this working... thanks, Brian -----Original Message----- From: Doron [mailto:dg...@sh...]=20 Sent: Friday, November 01, 2002 10:54 AM To: Brian Knorr Cc: web...@li... Subject: RE: enterprise web test Hi Brian, First you need to generate a test case (that generates some dynamic HTML based on a javascript event (like a button push). Then the test case needs to use web unit to drive the page, pressing the button, and then trying to do something else on the generated html (like pressing a button) This will cover the dynamic HTML test case. The second part you should probably have all the events that you will need but if not we can add an API to generate all the HTML events for each HTML component which will allow you to generate all events without having to modify web-unit. So you have two options on how to get this done: 1) You can code it yourself (its not too hard). OR =09 2) You can send us the test case and we can add/fix code to make sure it works. This method depends on us having some free time to code this up. Erik seems to have more time than I do these days. However, it should take 1-2 weeks to do it worst case (very conservative estimate). =09 -Doron On Fri, 2002-11-01 at 11:11, Brian Knorr wrote: > Great... we are really looking forward to using web unit for testing our > applications, and it sounds like with just a little work, Web Unit could > fully satisfy our testing needs. What is the process to have the > remaining javascript events supported, as well as dhtml? Any idea on a > timeframe we could be looking at for a release of these new features? >=20 > Thanks, >=20 > Brian >=20 >=20 >=20 > -----Original Message----- > From: Doron [mailto:dg...@sh...]=20 > Sent: Friday, November 01, 2002 6:55 AM > To: Brian Knorr > Subject: Re: enterprise web test >=20 > Hi Brian, >=20 > Web unit supports complex java script since it really is NOT > involved > in processing (I.E. does the work). Web unit can be used to actually > generate any event on any HTML component but right now it just does the > simple stuff (like onChange on a select when the code changes the value > of a select field and key up on a text field change when the code > changes the text value). More events can be added easily. >=20 > As for dynamic HTML, it may be necessary to add a tiny bit of > code to > tell WebUnit NOT to cache the text of an HTML page once it is received > from the server since it can change via DHTML. This will slow things > down some (depending on how big the HTML is) but it will work. >=20 > -Doron >=20 >=20 > On Thu, 2002-10-31 at 17:28, Brian Knorr wrote: > > Hello there... > >=20 > > =20 > >=20 > > We are looking at the various open source testing tools and came > across > > Enterprise Web Test... from what we have read and seen it looks very > > promising. Quick question: we are creating a very javascript/dtml > > intensive application tailored for Internet Explorer 5.5+... does > > Enterprise Web Test support complex javascript and dhtml (manipulating > > the dom, triggering off of all available events, etc...)? If not, how > > difficult would it be to fully support all the javascript that IE has > to > > offer? Please let me know what you think... thanks, > >=20 > > =20 > >=20 > > Brian > >=20 >=20 >=20 |
From: Johnny L. <Joh...@ki...> - 2002-11-01 19:31:39
|
First of all, I would like to thank the developers (esp. erik and doron) for being so responsive to my requests. So far, WebUnit (Enterprise Web Test) is the best open-source unit testing software I've come across; no other unit testing tool has the unique ability to drive IE directly, thus solving all headaches with javascript. I've been completely successfully in my web testing automation with WebUnit on a web application that uses javascript heavily. One more step that can be taken, in my opinion, is the implementation of an XML interface, so that even non-programmers can write test cases using WebUnit without having to know Java. One other web unit testing project that supports an XML interface is Canoo WebTest (http://webtest.canoo.com/webtest/). I've even seen a post on the Canoo WebTest forum from someone who, given spare time, is willing to write an XML interface to WebUnit (currently, WebTest interfaces with HTTPUnit). Perhaps the WebUnit developers would be willing to write that bridge to XML or they can contact the Canoo WebTest people to arrange some sort of collaboration. With an added XML interface, I am confident WebUnit will no doubt become one of the leading open-source unit-testing applications. Thanks for your attention and efforts! Johnny Lan Quality Management Kiodex, Inc. 1 877 6 KIODEX toll-free in the US +1 646 437 3898 general +1 973 960 4688 mobile +1 646 437 3910 fax www.kiodex.com Disclaimer: This e-mail may contain confidential and privileged material for the sole use of the intended recipient(s). If you are not the intended recipient (or authorized to receive this e-mail for the recipient), please note that review, use, distribution or disclosure of any part of this e-mail is strictly prohibited, except that you should please contact the sender or notify Kiodex, Inc. at no...@ki... that you have received this message in error, and delete all copies of the message. This e-mail and any attachments hereto are the property of Kiodex, Inc. and/or its relevant affiliate, and are not intended to be an offer or an acceptance, and do not create or evidence a binding and enforceable contract between Kiodex, Inc. or any of its affiliates and the intended recipient or any other party, and may not be relied on by anyone as the basis of a contract by estoppel or otherwise. |
From: Doron <dg...@sh...> - 2002-11-01 16:54:01
|
Hi Brian, First you need to generate a test case (that generates some dynamic HTML based on a javascript event (like a button push). Then the test case needs to use web unit to drive the page, pressing the button, and then trying to do something else on the generated html (like pressing a button) This will cover the dynamic HTML test case. The second part you should probably have all the events that you will need but if not we can add an API to generate all the HTML events for each HTML component which will allow you to generate all events without having to modify web-unit. So you have two options on how to get this done: 1) You can code it yourself (its not too hard). OR 2) You can send us the test case and we can add/fix code to make sure it works. This method depends on us having some free time to code this up. Erik seems to have more time than I do these days. However, it should take 1-2 weeks to do it worst case (very conservative estimate). -Doron On Fri, 2002-11-01 at 11:11, Brian Knorr wrote: > Great... we are really looking forward to using web unit for testing our > applications, and it sounds like with just a little work, Web Unit could > fully satisfy our testing needs. What is the process to have the > remaining javascript events supported, as well as dhtml? Any idea on a > timeframe we could be looking at for a release of these new features? > > Thanks, > > Brian > > > > -----Original Message----- > From: Doron [mailto:dg...@sh...] > Sent: Friday, November 01, 2002 6:55 AM > To: Brian Knorr > Subject: Re: enterprise web test > > Hi Brian, > > Web unit supports complex java script since it really is NOT > involved > in processing (I.E. does the work). Web unit can be used to actually > generate any event on any HTML component but right now it just does the > simple stuff (like onChange on a select when the code changes the value > of a select field and key up on a text field change when the code > changes the text value). More events can be added easily. > > As for dynamic HTML, it may be necessary to add a tiny bit of > code to > tell WebUnit NOT to cache the text of an HTML page once it is received > from the server since it can change via DHTML. This will slow things > down some (depending on how big the HTML is) but it will work. > > -Doron > > > On Thu, 2002-10-31 at 17:28, Brian Knorr wrote: > > Hello there... > > > > > > > > We are looking at the various open source testing tools and came > across > > Enterprise Web Test... from what we have read and seen it looks very > > promising. Quick question: we are creating a very javascript/dtml > > intensive application tailored for Internet Explorer 5.5+... does > > Enterprise Web Test support complex javascript and dhtml (manipulating > > the dom, triggering off of all available events, etc...)? If not, how > > difficult would it be to fully support all the javascript that IE has > to > > offer? Please let me know what you think... thanks, > > > > > > > > Brian > > > > |