jwebunit-users Mailing List for JWebUnit
Brought to you by:
henryju
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(42) |
Jul
(34) |
Aug
(19) |
Sep
(70) |
Oct
(22) |
Nov
(28) |
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(11) |
Feb
(30) |
Mar
(36) |
Apr
(14) |
May
(48) |
Jun
(39) |
Jul
(30) |
Aug
(35) |
Sep
(21) |
Oct
(19) |
Nov
(8) |
Dec
(30) |
2006 |
Jan
(25) |
Feb
(24) |
Mar
(45) |
Apr
(13) |
May
(28) |
Jun
(60) |
Jul
(68) |
Aug
(26) |
Sep
(50) |
Oct
(71) |
Nov
(42) |
Dec
(24) |
2007 |
Jan
(59) |
Feb
(23) |
Mar
(43) |
Apr
(12) |
May
(25) |
Jun
(12) |
Jul
(10) |
Aug
(5) |
Sep
(38) |
Oct
(16) |
Nov
(11) |
Dec
(8) |
2008 |
Jan
(7) |
Feb
(11) |
Mar
(9) |
Apr
(8) |
May
(8) |
Jun
(3) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(12) |
Nov
|
Dec
(1) |
2009 |
Jan
(4) |
Feb
(5) |
Mar
(6) |
Apr
(8) |
May
(17) |
Jun
(5) |
Jul
(37) |
Aug
(19) |
Sep
(2) |
Oct
(11) |
Nov
(5) |
Dec
(11) |
2010 |
Jan
(2) |
Feb
(26) |
Mar
(12) |
Apr
(19) |
May
(1) |
Jun
(17) |
Jul
(7) |
Aug
(3) |
Sep
(13) |
Oct
(19) |
Nov
(4) |
Dec
(4) |
2011 |
Jan
(7) |
Feb
(4) |
Mar
(3) |
Apr
(1) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(14) |
Sep
(3) |
Oct
(3) |
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
(12) |
Sep
(11) |
Oct
(3) |
Nov
(6) |
Dec
|
2013 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(4) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
(2) |
Mar
(4) |
Apr
|
May
(4) |
Jun
|
Jul
(7) |
Aug
(2) |
Sep
(6) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
From: Parham, C. <cp...@bi...> - 2015-10-09 13:15:17
|
Thanks Julien! From: Julien HENRY [mailto:he...@ya...] Sent: Thursday, October 08, 2015 4:59 PM To: ca...@as...; jwe...@li...; Usage Problems for JWebUnit <jwe...@li...> Subject: [JWebUnit-users] Release of JWebUnit 3.3 Hi guys, I did the first release of JWebUnit from GitHub. Artifacts should come to central soon. For other you can look at: https://github.com/JWebUnit/jwebunit/releases/tag/jwebunit-3.3 Web site is: https://jwebunit.github.io/jwebunit The only remaining SourceForge dependencies are the two mailing lists (I don't plan to migrate issues). I propose to keep mailing lists on SourceForge for now... ++ Julien ________________________________ The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. |
From: Julien H. <he...@ya...> - 2015-10-08 21:02:08
|
Hi guys, I did the first release of JWebUnit from GitHub. Artifacts should come to central soon. For other you can look at:https://github.com/JWebUnit/jwebunit/releases/tag/jwebunit-3.3 Web site is:https://jwebunit.github.io/jwebunit The only remaining SourceForge dependencies are the two mailing lists (I don't plan to migrate issues). I propose to keep mailing lists on SourceForge for now... ++ Julien |
From: Parham, C. <cp...@bi...> - 2015-07-28 13:43:26
|
Thank you. From: Julien HENRY [mailto:he...@ya...] Sent: Tuesday, July 28, 2015 9:32 AM To: Parham, Clinton; Usage problems for JWebUnit; JWebUnit Development Mail List Subject: Re: [JWebUnit-users] New build for HTMLUnit 2.17 Hi Parham, I just pushed a new SNAPSHOT: https://oss.sonatype.org/content/repositories/snapshots/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/3.3-SNAPSHOT/ Code is not committed since Sourceforge SVN is still down. ++ Julien ________________________________ De : "Parham, Clinton" <cp...@bi...<mailto:cp...@bi...>> À : Julien HENRY <he...@ya...<mailto:he...@ya...>>; Usage problems for JWebUnit <jwe...@li...<mailto:jwe...@li...>> Envoyé le : Lundi 27 juillet 2015 17h05 Objet : RE: [JWebUnit-users] New build for HTMLUnit 2.17 FYI: HTMLUnit 2.18 was just released. Since JWebUnit 3.3 has not been released, any chance you could update HTMLUnit dependency? Thanks. From: Julien HENRY [mailto:he...@ya...] Sent: Wednesday, July 15, 2015 5:15 AM To: Usage problems for JWebUnit Subject: Re: [JWebUnit-users] New build for HTMLUnit 2.17 See my message on dev list. ________________________________ De : "Parham, Clinton" <cp...@bi...<mailto:cp...@bi...>> À : "'jwe...@li...'" <jwe...@li...<mailto:jwe...@li...>> Envoyé le : Lundi 13 juillet 2015 19h21 Objet : [JWebUnit-users] New build for HTMLUnit 2.17 Hello Dev team, Could we get a build for HTMLUnit 2.17 (or whatever the latest version is)? There have been a number of improvements to HTMLUnit since JWebUnit 3.2. Simply replacing HTMLUnit jar doesn’t work anymore: java.lang.NoSuchFieldError: FIREFOX_24 at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.<init>(HtmlUnitTestingEngineImpl.java:172) Thank you, Clint ________________________________ The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ JWebUnit-users mailing list JWe...@li...<mailto:JWe...@li...> https://lists.sourceforge.net/lists/listinfo/jwebunit-users ________________________________ The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. ________________________________ The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. |
From: Julien H. <he...@ya...> - 2015-07-28 13:32:11
|
Hi Parham, I just pushed a new SNAPSHOT:https://oss.sonatype.org/content/repositories/snapshots/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/3.3-SNAPSHOT/ Code is not committed since Sourceforge SVN is still down. ++ Julien De : "Parham, Clinton" <cp...@bi...> À : Julien HENRY <he...@ya...>; Usage problems for JWebUnit <jwe...@li...> Envoyé le : Lundi 27 juillet 2015 17h05 Objet : RE: [JWebUnit-users] New build for HTMLUnit 2.17 #yiv7348327306 #yiv7348327306 -- _filtered #yiv7348327306 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv7348327306 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv7348327306 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv7348327306 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv7348327306 #yiv7348327306 p.yiv7348327306MsoNormal, #yiv7348327306 li.yiv7348327306MsoNormal, #yiv7348327306 div.yiv7348327306MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv7348327306 a:link, #yiv7348327306 span.yiv7348327306MsoHyperlink {color:blue;text-decoration:underline;}#yiv7348327306 a:visited, #yiv7348327306 span.yiv7348327306MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv7348327306 p.yiv7348327306MsoAcetate, #yiv7348327306 li.yiv7348327306MsoAcetate, #yiv7348327306 div.yiv7348327306MsoAcetate {margin:0in;margin-bottom:.0001pt;font-size:8.0pt;}#yiv7348327306 p.yiv7348327306msonormal, #yiv7348327306 li.yiv7348327306msonormal, #yiv7348327306 div.yiv7348327306msonormal {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv7348327306 p.yiv7348327306msochpdefault, #yiv7348327306 li.yiv7348327306msochpdefault, #yiv7348327306 div.yiv7348327306msochpdefault {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv7348327306 span.yiv7348327306msohyperlink {}#yiv7348327306 span.yiv7348327306msohyperlinkfollowed {}#yiv7348327306 span.yiv7348327306emailstyle17 {}#yiv7348327306 p.yiv7348327306msonormal1, #yiv7348327306 li.yiv7348327306msonormal1, #yiv7348327306 div.yiv7348327306msonormal1 {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;}#yiv7348327306 span.yiv7348327306msohyperlink1 {color:blue;text-decoration:underline;}#yiv7348327306 span.yiv7348327306msohyperlinkfollowed1 {color:purple;text-decoration:underline;}#yiv7348327306 span.yiv7348327306emailstyle171 {color:windowtext;}#yiv7348327306 p.yiv7348327306msochpdefault1, #yiv7348327306 li.yiv7348327306msochpdefault1, #yiv7348327306 div.yiv7348327306msochpdefault1 {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv7348327306 span.yiv7348327306BalloonTextChar {}#yiv7348327306 span.yiv7348327306EmailStyle29 {color:#1F497D;}#yiv7348327306 .yiv7348327306MsoChpDefault {font-size:10.0pt;} _filtered #yiv7348327306 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv7348327306 div.yiv7348327306WordSection1 {}#yiv7348327306 FYI: HTMLUnit 2.18 was just released. Since JWebUnit 3.3 has not been released, any chance you could update HTMLUnit dependency? Thanks. From: Julien HENRY [mailto:he...@ya...] Sent: Wednesday, July 15, 2015 5:15 AM To: Usage problems for JWebUnit Subject: Re: [JWebUnit-users] New build for HTMLUnit 2.17 See my message on dev list. De : "Parham, Clinton" <cp...@bi...> À : "'jwe...@li...'" <jwe...@li...> Envoyé le : Lundi 13 juillet 2015 19h21 Objet : [JWebUnit-users] New build for HTMLUnit 2.17 Hello Dev team, Could we get a build for HTMLUnit 2.17 (or whatever the latest version is)? There have been a number of improvements to HTMLUnit since JWebUnit 3.2. Simply replacing HTMLUnit jar doesn’t work anymore: java.lang.NoSuchFieldError: FIREFOX_24 at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.<init>(HtmlUnitTestingEngineImpl.java:172) Thank you, Clint | The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. | ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ JWebUnit-users mailing list JWe...@li... https://lists.sourceforge.net/lists/listinfo/jwebunit-users | The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. | |
From: Parham, C. <cp...@bi...> - 2015-07-27 15:21:00
|
FYI: HTMLUnit 2.18 was just released. Since JWebUnit 3.3 has not been released, any chance you could update HTMLUnit dependency? Thanks. From: Julien HENRY [mailto:he...@ya...] Sent: Wednesday, July 15, 2015 5:15 AM To: Usage problems for JWebUnit Subject: Re: [JWebUnit-users] New build for HTMLUnit 2.17 See my message on dev list. ________________________________ De : "Parham, Clinton" <cp...@bi...<mailto:cp...@bi...>> À : "'jwe...@li...'" <jwe...@li...<mailto:jwe...@li...>> Envoyé le : Lundi 13 juillet 2015 19h21 Objet : [JWebUnit-users] New build for HTMLUnit 2.17 Hello Dev team, Could we get a build for HTMLUnit 2.17 (or whatever the latest version is)? There have been a number of improvements to HTMLUnit since JWebUnit 3.2. Simply replacing HTMLUnit jar doesn’t work anymore: java.lang.NoSuchFieldError: FIREFOX_24 at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.<init>(HtmlUnitTestingEngineImpl.java:172) Thank you, Clint ________________________________ The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ JWebUnit-users mailing list JWe...@li...<mailto:JWe...@li...> https://lists.sourceforge.net/lists/listinfo/jwebunit-users ________________________________ The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. |
From: Parham, C. <cp...@bi...> - 2015-07-15 13:16:50
|
Thank you for your help. From: Julien HENRY [mailto:he...@ya...] Sent: Wednesday, July 15, 2015 5:15 AM To: Usage problems for JWebUnit Subject: Re: [JWebUnit-users] New build for HTMLUnit 2.17 See my message on dev list. ________________________________ De : "Parham, Clinton" <cp...@bi...<mailto:cp...@bi...>> À : "'jwe...@li...'" <jwe...@li...<mailto:jwe...@li...>> Envoyé le : Lundi 13 juillet 2015 19h21 Objet : [JWebUnit-users] New build for HTMLUnit 2.17 Hello Dev team, Could we get a build for HTMLUnit 2.17 (or whatever the latest version is)? There have been a number of improvements to HTMLUnit since JWebUnit 3.2. Simply replacing HTMLUnit jar doesn’t work anymore: java.lang.NoSuchFieldError: FIREFOX_24 at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.<init>(HtmlUnitTestingEngineImpl.java:172) Thank you, Clint ________________________________ The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ JWebUnit-users mailing list JWe...@li...<mailto:JWe...@li...> https://lists.sourceforge.net/lists/listinfo/jwebunit-users ________________________________ The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. |
From: Julien H. <he...@ya...> - 2015-07-15 09:15:34
|
See my message on dev list. De : "Parham, Clinton" <cp...@bi...> À : "'jwe...@li...'" <jwe...@li...> Envoyé le : Lundi 13 juillet 2015 19h21 Objet : [JWebUnit-users] New build for HTMLUnit 2.17 <!--#yiv8928481739 _filtered #yiv8928481739 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv8928481739 #yiv8928481739 p.yiv8928481739MsoNormal, #yiv8928481739 li.yiv8928481739MsoNormal, #yiv8928481739 div.yiv8928481739MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}#yiv8928481739 a:link, #yiv8928481739 span.yiv8928481739MsoHyperlink {color:blue;text-decoration:underline;}#yiv8928481739 a:visited, #yiv8928481739 span.yiv8928481739MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv8928481739 span.yiv8928481739EmailStyle17 {font-family:"Calibri", "sans-serif";color:windowtext;}#yiv8928481739 .yiv8928481739MsoChpDefault {font-family:"Calibri", "sans-serif";} _filtered #yiv8928481739 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv8928481739 div.yiv8928481739WordSection1 {}-->Hello Dev team, Could we get a build for HTMLUnit 2.17 (or whatever the latest version is)? There have been a number of improvements to HTMLUnit since JWebUnit 3.2. Simply replacing HTMLUnit jar doesn’t work anymore: java.lang.NoSuchFieldError: FIREFOX_24 at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.<init>(HtmlUnitTestingEngineImpl.java:172) Thank you, Clint | The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. | ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ JWebUnit-users mailing list JWe...@li... https://lists.sourceforge.net/lists/listinfo/jwebunit-users |
From: Parham, C. <cp...@bi...> - 2015-07-13 17:21:30
|
Hello Dev team, Could we get a build for HTMLUnit 2.17 (or whatever the latest version is)? There have been a number of improvements to HTMLUnit since JWebUnit 3.2. Simply replacing HTMLUnit jar doesn't work anymore: java.lang.NoSuchFieldError: FIREFOX_24 at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.<init>(HtmlUnitTestingEngineImpl.java:172) Thank you, Clint ________________________________ The contents contained herein may contain confidential information. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, printing or action taken on the contents is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete this message. |
From: Jorge Sá <jor...@gm...> - 2015-02-12 14:18:06
|
Hi for all: I'm new to working with jwebunit -3.2. Before had version 2.2 but if I upgrade to version 3.2, I have this error:*Could not initialize class net.sourceforge.jwebunit.util.TestingEngineRegistry* I checked if I have this class and in fact it exists. Any help? I need to update anything else Thanks for all Jorge Sá |
From: raipe - <rai...@gm...> - 2014-09-08 06:06:34
|
I found a way to do this with HtmlUnit: StringWebResponse resp = new StringWebResponse(html, new URL(" http://localhost")); WebClient client = new WebClient(); HtmlPage page = HTMLParser.parseHtml(resp, client.getCurrentWindow()); Now just need a way to wrap it with JWebUnit somehow? I am writing unit tests for GSP pages in Grails framework. Rendering the GSP pages in isolation is supported by the Grails unit testing support. As outcome I have the html page as String, so I need to have some elegant way to verify e.g. elements and contents on the page. JWebUnit seems to have a good set of matchers available. On Mon, Sep 8, 2014 at 2:59 AM, Jevon Wright <je...@je...> wrote: > I don't think there's any way to do this with JWebUnit/HtmlUnit (most web > pages load additional resources - JS, CSS etc) - perhaps you could look at > using a web server component like Jetty (which we use for our tests > ourselves) to host the generated HTML, which you can then connect to to > test. > > Cheers > Jevon > > > On Sat, Sep 6, 2014 at 11:17 PM, raipe - <rai...@gm...> > wrote: > >> How to use the jWebUnit to verify elements in a page created from >> String/byte[]? >> >> This is needed to unit test views rendered from the application. Note: >> the application is not running but view is rendered using the unit testing >> features of the framework. >> >> So what I want is to do jWebUnit testing for a page created from string. >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> JWebUnit-users mailing list >> JWe...@li... >> https://lists.sourceforge.net/lists/listinfo/jwebunit-users >> >> > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > |
From: Jevon W. <je...@je...> - 2014-09-08 00:00:06
|
I don't think there's any way to do this with JWebUnit/HtmlUnit (most web pages load additional resources - JS, CSS etc) - perhaps you could look at using a web server component like Jetty (which we use for our tests ourselves) to host the generated HTML, which you can then connect to to test. Cheers Jevon On Sat, Sep 6, 2014 at 11:17 PM, raipe - <rai...@gm...> wrote: > How to use the jWebUnit to verify elements in a page created from > String/byte[]? > > This is needed to unit test views rendered from the application. Note: the > application is not running but view is rendered using the unit testing > features of the framework. > > So what I want is to do jWebUnit testing for a page created from string. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > |
From: raipe - <rai...@gm...> - 2014-09-06 11:17:43
|
How to use the jWebUnit to verify elements in a page created from String/byte[]? This is needed to unit test views rendered from the application. Note: the application is not running but view is rendered using the unit testing features of the framework. So what I want is to do jWebUnit testing for a page created from string. |
From: Rusty W. <rus...@gm...> - 2014-09-01 18:36:57
|
Ok, thanks. I've no idea why merely including jwebunit as a dependency triggered the problem. Looking at the dependency:tree output it looks like xml-apis is being pulled in by hibernate. On Sun, Aug 31, 2014 at 7:39 PM, < jwe...@li...> wrote: > Date: Sun, 31 Aug 2014 16:55:11 -0700 > From: "Jevon Wright" <je...@je...> > Subject: Re: [JWebUnit-users] java.lang.NoClassDefFoundError: > org/w3c/dom/ElementTraversal > To: Usage problems for JWebUnit <jwe...@li...> > Message-ID: > < > CAM...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > We can't help with usage problems unrelated to JWebUnit, but it looks like > you are missing the DOM JAR from your classpath - perhaps a missing > dependency in your pom.xml (I am not very familiar with Maven). > > Cheers > Jevon > |
From: Rusty W. <rus...@gm...> - 2014-09-01 01:25:44
|
I fixed my problem by specifying a dependency: <dependency> <groupId>xml-apis</groupId> <artifactId>xml-apis</artifactId> <version>1.4.01</version> </dependency> It was pulling in 1.0.b2 transitively. I did this because the 1.4.01 version fixed the same problem for someone: http://stackoverflow.com/questions/17515333/noclassdeffounderror-org-w3c-dom-elementtraversal I haven't done any jwebunit tests yet so I don't know if this is going to break things there. |
From: Jevon W. <je...@je...> - 2014-09-01 00:26:15
|
We can't help with usage problems unrelated to JWebUnit, but it looks like you are missing the DOM JAR from your classpath - perhaps a missing dependency in your pom.xml (I am not very familiar with Maven). Cheers Jevon On Sun, Aug 31, 2014 at 8:43 AM, Rusty Wright <rus...@gm...> wrote: > I forgot to include this; this is what mvn dependency:tree shows. > > [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ template-web > --- > [INFO] com.objecteffects:template-web:war:0.0.1-SNAPSHOT > [INFO] +- com.objecteffects:template-service:jar:0.0.1-SNAPSHOT:compile > [INFO] | \- com.objecteffects:template-persist:jar:0.0.1-SNAPSHOT:compile > [INFO] | +- > org.hibernate:hibernate-entitymanager:jar:4.3.5.Final:compile > [INFO] | +- org.hibernate:hibernate-c3p0:jar:4.3.5.Final:compile > [INFO] | | \- com.mchange:c3p0:jar:0.9.2.1:compile > [INFO] | | \- com.mchange:mchange-commons-java:jar:0.2.3.4:compile > [INFO] | \- org.hsqldb:hsqldb:jar:2.3.2:compile > [INFO] +- com.objecteffects:template-model:jar:0.0.1-SNAPSHOT:compile > [INFO] | \- org.hibernate:hibernate-core:jar:4.3.5.Final:compile > [INFO] | +- org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile > [INFO] | +- > org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile > [INFO] | +- > org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile > [INFO] | +- dom4j:dom4j:jar:1.6.1:compile > [INFO] | | \- xml-apis:xml-apis:jar:1.0.b2:compile > [INFO] | +- > org.hibernate.common:hibernate-commons-annotations:jar:4.0.4.Final:compile > [INFO] | +- > org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile > [INFO] | +- org.javassist:javassist:jar:3.18.1-GA:compile > [INFO] | +- antlr:antlr:jar:2.7.7:compile > [INFO] | \- org.jboss:jandex:jar:1.1.0.Final:compile > [INFO] +- net.sourceforge.stripes:stripes:jar:1.5.7:compile > [INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile > [INFO] +- com.silvermindsoftware.stripes:stripes-guice:jar:3.1:compile > [INFO] | +- com.google.guava:guava:jar:r08:compile > [INFO] | \- com.intellij:annotations:jar:9.0.4:compile > [INFO] +- jstl:jstl:jar:1.2:compile > [INFO] +- taglibs:standard:jar:1.1.2:compile > [INFO] +- javax.servlet:servlet-api:jar:2.4:provided > [INFO] +- displaytag:displaytag:jar:1.2:compile > [INFO] | +- commons-collections:commons-collections:jar:3.1:compile > [INFO] | +- commons-lang:commons-lang:jar:2.3:compile > [INFO] | +- com.lowagie:itext:jar:1.3:compile > [INFO] | \- commons-beanutils:commons-beanutils:jar:1.7.0:compile > [INFO] +- com.google.inject:guice:jar:3.0:compile > [INFO] | +- javax.inject:javax.inject:jar:1:compile > [INFO] | \- aopalliance:aopalliance:jar:1.0:compile > [INFO] +- com.google.inject.extensions:guice-persist:jar:3.0:compile > [INFO] +- com.google.inject.extensions:guice-servlet:jar:3.0:compile > [INFO] +- org.apache.commons:commons-lang3:jar:3.3.2:compile > [INFO] +- commons-fileupload:commons-fileupload:jar:1.3.1:compile > [INFO] | \- commons-io:commons-io:jar:2.2:compile > [INFO] +- ch.qos.logback:logback-classic:jar:1.0.13:compile > [INFO] | \- ch.qos.logback:logback-core:jar:1.0.13:compile > [INFO] +- org.slf4j:slf4j-api:jar:1.7.6:compile > [INFO] +- org.slf4j:jcl-over-slf4j:jar:1.76:compile > [INFO] +- org.slf4j:log4j-over-slf4j:jar:1.7.6:compile > [INFO] +- org.slf4j:jul-to-slf4j:jar:1.7.6:compile > [INFO] +- net.sourceforge.jwebunit:jwebunit-htmlunit-plugin:jar:3.2:test > [INFO] | +- net.sourceforge.htmlunit:htmlunit:jar:2.14:test > [INFO] | | +- xalan:xalan:jar:2.7.1:test > [INFO] | | | \- xalan:serializer:jar:2.7.1:test > [INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.3.2:test > [INFO] | | | \- org.apache.httpcomponents:httpcore:jar:4.3.1:test > [INFO] | | +- org.apache.httpcomponents:httpmime:jar:4.3.2:test > [INFO] | | +- commons-codec:commons-codec:jar:1.9:test > [INFO] | | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.14:test > [INFO] | | +- xerces:xercesImpl:jar:2.11.0:test > [INFO] | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.20:test > [INFO] | | +- net.sourceforge.cssparser:cssparser:jar:0.9.13:test > [INFO] | | | \- org.w3c.css:sac:jar:1.3:test > [INFO] | | \- org.eclipse.jetty:jetty-websocket:jar:8.1.14.v20131031:test > [INFO] | | +- org.eclipse.jetty:jetty-util:jar:8.1.14.v20131031:test > [INFO] | | +- org.eclipse.jetty:jetty-io:jar:8.1.14.v20131031:test > [INFO] | | \- org.eclipse.jetty:jetty-http:jar:8.1.14.v20131031:test > [INFO] | \- net.sourceforge.jwebunit:jwebunit-core:jar:3.2:test > [INFO] | \- regexp:regexp:jar:1.3:test > [INFO] +- com.google.guiceberry:guiceberry:jar:3.3.1:test > [INFO] | \- com.google.guava:guava-testlib:jar:14.0.1:test > [INFO] | \- org.truth0:truth:jar:0.10:test > [INFO] \- junit:junit:jar:4.11:test > [INFO] \- org.hamcrest:hamcrest-core:jar:1.3:test > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > |
From: Rusty W. <rus...@gm...> - 2014-08-30 20:43:58
|
I forgot to include this; this is what mvn dependency:tree shows. [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ template-web --- [INFO] com.objecteffects:template-web:war:0.0.1-SNAPSHOT [INFO] +- com.objecteffects:template-service:jar:0.0.1-SNAPSHOT:compile [INFO] | \- com.objecteffects:template-persist:jar:0.0.1-SNAPSHOT:compile [INFO] | +- org.hibernate:hibernate-entitymanager:jar:4.3.5.Final:compile [INFO] | +- org.hibernate:hibernate-c3p0:jar:4.3.5.Final:compile [INFO] | | \- com.mchange:c3p0:jar:0.9.2.1:compile [INFO] | | \- com.mchange:mchange-commons-java:jar:0.2.3.4:compile [INFO] | \- org.hsqldb:hsqldb:jar:2.3.2:compile [INFO] +- com.objecteffects:template-model:jar:0.0.1-SNAPSHOT:compile [INFO] | \- org.hibernate:hibernate-core:jar:4.3.5.Final:compile [INFO] | +- org.jboss.logging:jboss-logging:jar:3.1.3.GA:compile [INFO] | +- org.jboss.logging:jboss-logging-annotations:jar:1.2.0.Beta1:compile [INFO] | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.0.0.Final:compile [INFO] | +- dom4j:dom4j:jar:1.6.1:compile [INFO] | | \- xml-apis:xml-apis:jar:1.0.b2:compile [INFO] | +- org.hibernate.common:hibernate-commons-annotations:jar:4.0.4.Final:compile [INFO] | +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile [INFO] | +- org.javassist:javassist:jar:3.18.1-GA:compile [INFO] | +- antlr:antlr:jar:2.7.7:compile [INFO] | \- org.jboss:jandex:jar:1.1.0.Final:compile [INFO] +- net.sourceforge.stripes:stripes:jar:1.5.7:compile [INFO] | \- commons-logging:commons-logging:jar:1.1.1:compile [INFO] +- com.silvermindsoftware.stripes:stripes-guice:jar:3.1:compile [INFO] | +- com.google.guava:guava:jar:r08:compile [INFO] | \- com.intellij:annotations:jar:9.0.4:compile [INFO] +- jstl:jstl:jar:1.2:compile [INFO] +- taglibs:standard:jar:1.1.2:compile [INFO] +- javax.servlet:servlet-api:jar:2.4:provided [INFO] +- displaytag:displaytag:jar:1.2:compile [INFO] | +- commons-collections:commons-collections:jar:3.1:compile [INFO] | +- commons-lang:commons-lang:jar:2.3:compile [INFO] | +- com.lowagie:itext:jar:1.3:compile [INFO] | \- commons-beanutils:commons-beanutils:jar:1.7.0:compile [INFO] +- com.google.inject:guice:jar:3.0:compile [INFO] | +- javax.inject:javax.inject:jar:1:compile [INFO] | \- aopalliance:aopalliance:jar:1.0:compile [INFO] +- com.google.inject.extensions:guice-persist:jar:3.0:compile [INFO] +- com.google.inject.extensions:guice-servlet:jar:3.0:compile [INFO] +- org.apache.commons:commons-lang3:jar:3.3.2:compile [INFO] +- commons-fileupload:commons-fileupload:jar:1.3.1:compile [INFO] | \- commons-io:commons-io:jar:2.2:compile [INFO] +- ch.qos.logback:logback-classic:jar:1.0.13:compile [INFO] | \- ch.qos.logback:logback-core:jar:1.0.13:compile [INFO] +- org.slf4j:slf4j-api:jar:1.7.6:compile [INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.6:compile [INFO] +- org.slf4j:log4j-over-slf4j:jar:1.7.6:compile [INFO] +- org.slf4j:jul-to-slf4j:jar:1.7.6:compile [INFO] +- net.sourceforge.jwebunit:jwebunit-htmlunit-plugin:jar:3.2:test [INFO] | +- net.sourceforge.htmlunit:htmlunit:jar:2.14:test [INFO] | | +- xalan:xalan:jar:2.7.1:test [INFO] | | | \- xalan:serializer:jar:2.7.1:test [INFO] | | +- org.apache.httpcomponents:httpclient:jar:4.3.2:test [INFO] | | | \- org.apache.httpcomponents:httpcore:jar:4.3.1:test [INFO] | | +- org.apache.httpcomponents:httpmime:jar:4.3.2:test [INFO] | | +- commons-codec:commons-codec:jar:1.9:test [INFO] | | +- net.sourceforge.htmlunit:htmlunit-core-js:jar:2.14:test [INFO] | | +- xerces:xercesImpl:jar:2.11.0:test [INFO] | | +- net.sourceforge.nekohtml:nekohtml:jar:1.9.20:test [INFO] | | +- net.sourceforge.cssparser:cssparser:jar:0.9.13:test [INFO] | | | \- org.w3c.css:sac:jar:1.3:test [INFO] | | \- org.eclipse.jetty:jetty-websocket:jar:8.1.14.v20131031:test [INFO] | | +- org.eclipse.jetty:jetty-util:jar:8.1.14.v20131031:test [INFO] | | +- org.eclipse.jetty:jetty-io:jar:8.1.14.v20131031:test [INFO] | | \- org.eclipse.jetty:jetty-http:jar:8.1.14.v20131031:test [INFO] | \- net.sourceforge.jwebunit:jwebunit-core:jar:3.2:test [INFO] | \- regexp:regexp:jar:1.3:test [INFO] +- com.google.guiceberry:guiceberry:jar:3.3.1:test [INFO] | \- com.google.guava:guava-testlib:jar:14.0.1:test [INFO] | \- org.truth0:truth:jar:0.10:test [INFO] \- junit:junit:jar:4.11:test [INFO] \- org.hamcrest:hamcrest-core:jar:1.3:test |
From: Rusty W. <rus...@gm...> - 2014-08-30 20:35:38
|
I'm getting the following stack trace when I run a test that does not use JWebUnit. I've included the code where it's blowing up; it's the constructor with an @Inject annotation. At the end I've included my maven dependencies section. I'm not using JWebUnit at all as yet, I simply added to my pom.xml. When I comment it out then the test runs fine. Help me Obi Wan Kanobi you're my only hope. com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting constructor, java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at com.objecteffects.template.web.ApplicationInitializer.<init>(ApplicationInitializer.java:17) while locating com.objecteffects.template.web.ApplicationInitializer for field at com.objecteffects.template.web.TestNamedEntityService.applicationInitializer(TestNamedEntityService.java:28) while locating com.objecteffects.template.web.TestNamedEntityService 1 error at com.google.inject.internal.Errors.throwProvisionExceptionIfErrorsExist(Errors.java:451) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:65) at com.google.inject.internal.InjectorImpl.injectMembers(InjectorImpl.java:944) at com.google.guiceberry.GuiceBerryUniverse$TestCaseScaffolding.injectMembersIntoTest(GuiceBerryUniverse.java:171) at com.google.guiceberry.GuiceBerryUniverse$TestCaseScaffolding.runBeforeTest(GuiceBerryUniverse.java:117) at com.google.guiceberry.junit4.GuiceBerryRule$1.evaluate(GuiceBerryRule.java:54) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.xerces.parsers.AbstractDOMParser.startDocument(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.hibernate.jpa.boot.internal.PersistenceXmlParser.loadUrl(PersistenceXmlParser.java:309) at org.hibernate.jpa.boot.internal.PersistenceXmlParser.parsePersistenceXml(PersistenceXmlParser.java:114) at org.hibernate.jpa.boot.internal.PersistenceXmlParser.doResolve(PersistenceXmlParser.java:104) at org.hibernate.jpa.boot.internal.PersistenceXmlParser.locatePersistenceUnits(PersistenceXmlParser.java:86) at org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilderOrNull(HibernatePersistenceProvider.java:97) at org.hibernate.ejb.HibernatePersistence.getEntityManagerFactoryBuilderOrNull(HibernatePersistence.java:93) at org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilderOrNull(HibernatePersistenceProvider.java:88) at org.hibernate.ejb.HibernatePersistence.getEntityManagerFactoryBuilderOrNull(HibernatePersistence.java:101) at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:69) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:54) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:39) at com.google.inject.persist.jpa.JpaPersistService.start(JpaPersistService.java:94) at com.objecteffects.template.web.ApplicationInitializer.<init>(ApplicationInitializer.java:20) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.google.inject.internal.DefaultConstructionProxyFactory$2.newInstance(DefaultConstructionProxyFactory.java:85) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254) at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:75) at com.google.inject.internal.MembersInjectorImpl$1.call(MembersInjectorImpl.java:73) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024) at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:73) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:60) ... 19 more Caused by: java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 68 more import com.google.inject.Inject; import com.google.inject.persist.PersistService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; class ApplicationInitializer { private final transient Logger log = LoggerFactory .getLogger(ApplicationInitializer.class); @Inject ApplicationInitializer(final PersistService service) { // line 17 this.log.debug("start service"); service.start(); } } <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>template-service</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>template-model</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>net.sourceforge.stripes</groupId> <artifactId>stripes</artifactId> <version>1.5.7</version> </dependency> <dependency> <groupId>com.silvermindsoftware.stripes</groupId> <artifactId>stripes-guice</artifactId> <version>3.1</version> </dependency> <dependency> <groupId>jstl</groupId> <artifactId>jstl</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>taglibs</groupId> <artifactId>standard</artifactId> <version>1.1.2</version> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>displaytag</groupId> <artifactId>displaytag</artifactId> <version>1.2</version> <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>jcl104-over-slf4j</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-persist</artifactId> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-servlet</artifactId> <version>${version.guice-servlet}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jul-to-slf4j</artifactId> </dependency> <!-- --> <dependency> <groupId>net.sourceforge.jwebunit</groupId> <artifactId>jwebunit-htmlunit-plugin</artifactId> <version>3.2</version> <scope>test</scope> </dependency> <dependency> <groupId>com.google.guiceberry</groupId> <artifactId>guiceberry</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> </dependencies> |
From: Dhruv S. <dhr...@gm...> - 2014-07-08 13:34:52
|
*<dependency>* * <groupId>junit</groupId>* * <artifactId>junit</artifactId>* * <version>4.11</version>* *</dependency>* <dependency> <groupId>net.sourceforge.jwebunit</groupId> <artifactId>jwebunit-htmlunit-plugin</artifactId> <version>3.1</version> </dependency> should i delete the top portion of the includes? On Tue, Jul 8, 2014 at 6:58 PM, Dhruv Shah <dhr...@gm...> wrote: > I am not using junit assert anywhere. > I just wrote the second piece of code because the jwebunit asserts were > failing. > > > On Tue, Jul 8, 2014 at 6:57 PM, Julien HENRY <he...@ya...> wrote: > >> Right. But JUnit is not a web testing framework. >> >> ------------------------------ >> *De :* Dhruv Shah <dhr...@gm...> >> *À :* Julien HENRY <he...@ya...>; Usage problems for JWebUnit < >> jwe...@li...> >> *Envoyé le :* Mardi 8 juillet 2014 15h23 >> *Objet :* Re: [JWebUnit-users] Fwd: Regarding >> "assertWindowPresentWithTitle()" >> >> But the jwebunit requires the junit maven dependencies to be present >> right? >> >> >> On Tue, Jul 8, 2014 at 6:17 PM, Julien HENRY <he...@ya...> wrote: >> >> >> >> Hi, >> >> It seems your are mixing some Selenium (WebDriver) code and some >> JWebUnit code. Please stick to a single web testing framework. >> >> ++ >> >> Julien >> >> ------------------------------ >> *De :* Dhruv Shah <dhr...@gm...> >> *À :* jwe...@li... >> *Envoyé le :* Mardi 8 juillet 2014 14h37 >> *Objet :* [JWebUnit-users] Fwd: Regarding >> "assertWindowPresentWithTitle()" >> >> >> >> Hello All, >> >> *When i use the following code(not using JWebUnit)* : >> >> String originalWindow = driver.getWindowHandle(); >> for(String str:driver.getWindowHandles()){ >> if(str!=originalWindow) >> driver.switchTo().window(str); >> } >> assertEquals("New Pharmacy: Add For EMedPass",driver.getTitle()); >> } >> >> *my code works perfectly. The test results returns a true*. >> >> *When i use the following code (using JWebUnit) :* >> >> for(String str:driver.getWindowHandles()){ >> System.out.println(driver.switchTo().window(str).getTitle()); >> } >> assertWindowPresentWithTitle("New Pharmacy: Add For EMedPass"); >> >> *the assert fails. It gives the following output :* >> >> testCase1(JunitTest1): null >> testCase1(JunitTest1) >> null >> java.lang.NullPointerException >> at >> net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.getWindowByTitle(HtmlUnitTestingEngineImpl.java:1027) >> at >> net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.hasWindowByTitle(HtmlUnitTestingEngineImpl.java:317) >> at >> net.sourceforge.jwebunit.junit.WebTester.assertWindowPresentWithTitle(WebTester.java:2234) >> at >> net.sourceforge.jwebunit.junit.JWebUnit.assertWindowPresentWithTitle(JWebUnit.java:1735) >> at JunitTest1.testCase1(JunitTest1.java:70) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:606) >> at >> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) >> at >> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) >> at >> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) >> at >> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) >> at >> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) >> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) >> at >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) >> at >> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) >> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) >> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) >> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) >> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) >> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) >> at >> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) >> at org.junit.runners.ParentRunner.run(ParentRunner.java:309) >> at org.junit.runners.Suite.runChild(Suite.java:127) >> at org.junit.runners.Suite.runChild(Suite.java:26) >> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) >> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) >> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) >> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) >> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) >> at org.junit.runners.ParentRunner.run(ParentRunner.java:309) >> at org.junit.runner.JUnitCore.run(JUnitCore.java:160) >> at org.junit.runner.JUnitCore.run(JUnitCore.java:138) >> at org.junit.runner.JUnitCore.run(JUnitCore.java:128) >> at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:73) >> at TestRunner1.main(TestRunner1.java:12) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:606) >> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) >> >> *Here is the TestRunner class for reference:* >> >> Result result = JUnitCore.runClasses(JunitTest1.class); >> System.out.println("\n\n\n"+result.getFailureCount()); >> for(Failure failure : result.getFailures()){ >> System.out.println(failure.toString()); >> System.out.println(failure.getDescription()); >> System.out.println(failure.getMessage()); >> System.out.println(failure.getTrace()); >> } >> System.out.println(result.wasSuccessful()); >> >> } >> >> *I'm new to the mailing list. If there is some protocol I'm ignoring, >> please let me know and I will make an endeavor to follow it next time. * >> >> *Thanking you* >> *Dhruv Shah* >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> >> _______________________________________________ >> JWebUnit-users mailing list >> JWe...@li... >> https://lists.sourceforge.net/lists/listinfo/jwebunit-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> JWebUnit-users mailing list >> JWe...@li... >> https://lists.sourceforge.net/lists/listinfo/jwebunit-users >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> JWebUnit-users mailing list >> JWe...@li... >> https://lists.sourceforge.net/lists/listinfo/jwebunit-users >> >> > |
From: Dhruv S. <dhr...@gm...> - 2014-07-08 13:29:07
|
I am not using junit assert anywhere. I just wrote the second piece of code because the jwebunit asserts were failing. On Tue, Jul 8, 2014 at 6:57 PM, Julien HENRY <he...@ya...> wrote: > Right. But JUnit is not a web testing framework. > > ------------------------------ > *De :* Dhruv Shah <dhr...@gm...> > *À :* Julien HENRY <he...@ya...>; Usage problems for JWebUnit < > jwe...@li...> > *Envoyé le :* Mardi 8 juillet 2014 15h23 > *Objet :* Re: [JWebUnit-users] Fwd: Regarding > "assertWindowPresentWithTitle()" > > But the jwebunit requires the junit maven dependencies to be present right? > > > On Tue, Jul 8, 2014 at 6:17 PM, Julien HENRY <he...@ya...> wrote: > > > > Hi, > > It seems your are mixing some Selenium (WebDriver) code and some JWebUnit > code. Please stick to a single web testing framework. > > ++ > > Julien > > ------------------------------ > *De :* Dhruv Shah <dhr...@gm...> > *À :* jwe...@li... > *Envoyé le :* Mardi 8 juillet 2014 14h37 > *Objet :* [JWebUnit-users] Fwd: Regarding "assertWindowPresentWithTitle()" > > > > Hello All, > > *When i use the following code(not using JWebUnit)* : > > String originalWindow = driver.getWindowHandle(); > for(String str:driver.getWindowHandles()){ > if(str!=originalWindow) > driver.switchTo().window(str); > } > assertEquals("New Pharmacy: Add For EMedPass",driver.getTitle()); > } > > *my code works perfectly. The test results returns a true*. > > *When i use the following code (using JWebUnit) :* > > for(String str:driver.getWindowHandles()){ > System.out.println(driver.switchTo().window(str).getTitle()); > } > assertWindowPresentWithTitle("New Pharmacy: Add For EMedPass"); > > *the assert fails. It gives the following output :* > > testCase1(JunitTest1): null > testCase1(JunitTest1) > null > java.lang.NullPointerException > at > net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.getWindowByTitle(HtmlUnitTestingEngineImpl.java:1027) > at > net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.hasWindowByTitle(HtmlUnitTestingEngineImpl.java:317) > at > net.sourceforge.jwebunit.junit.WebTester.assertWindowPresentWithTitle(WebTester.java:2234) > at > net.sourceforge.jwebunit.junit.JWebUnit.assertWindowPresentWithTitle(JWebUnit.java:1735) > at JunitTest1.testCase1(JunitTest1.java:70) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at org.junit.runners.Suite.runChild(Suite.java:127) > at org.junit.runners.Suite.runChild(Suite.java:26) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at org.junit.runner.JUnitCore.run(JUnitCore.java:160) > at org.junit.runner.JUnitCore.run(JUnitCore.java:138) > at org.junit.runner.JUnitCore.run(JUnitCore.java:128) > at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:73) > at TestRunner1.main(TestRunner1.java:12) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) > > *Here is the TestRunner class for reference:* > > Result result = JUnitCore.runClasses(JunitTest1.class); > System.out.println("\n\n\n"+result.getFailureCount()); > for(Failure failure : result.getFailures()){ > System.out.println(failure.toString()); > System.out.println(failure.getDescription()); > System.out.println(failure.getMessage()); > System.out.println(failure.getTrace()); > } > System.out.println(result.wasSuccessful()); > > } > > *I'm new to the mailing list. If there is some protocol I'm ignoring, > please let me know and I will make an endeavor to follow it next time. * > > *Thanking you* > *Dhruv Shah* > > > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > |
From: Julien H. <he...@ya...> - 2014-07-08 13:27:13
|
Right. But JUnit is not a web testing framework. ________________________________ De : Dhruv Shah <dhr...@gm...> À : Julien HENRY <he...@ya...>; Usage problems for JWebUnit <jwe...@li...> Envoyé le : Mardi 8 juillet 2014 15h23 Objet : Re: [JWebUnit-users] Fwd: Regarding "assertWindowPresentWithTitle()" But the jwebunit requires the junit maven dependencies to be present right? On Tue, Jul 8, 2014 at 6:17 PM, Julien HENRY <he...@ya...> wrote: > > >Hi, > > >It seems your are mixing some Selenium (WebDriver) code and some JWebUnit code. Please stick to a single web testing framework. > > >++ > > >Julien > > > >________________________________ > De : Dhruv Shah <dhr...@gm...> >À : jwe...@li... >Envoyé le : Mardi 8 juillet 2014 14h37 >Objet : [JWebUnit-users] Fwd: Regarding "assertWindowPresentWithTitle()" > > > > > > >Hello All, > > >When i use the following code(not using JWebUnit) : > > >String originalWindow = driver.getWindowHandle(); > for(String str:driver.getWindowHandles()){ > if(str!=originalWindow) > driver.switchTo().window(str); > } > assertEquals("New Pharmacy: Add For EMedPass",driver.getTitle()); > } > > >my code works perfectly. The test results returns a true. > > >When i use the following code (using JWebUnit) : > > >for(String str:driver.getWindowHandles()){ > System.out.println(driver.switchTo().window(str).getTitle()); > } >assertWindowPresentWithTitle("New Pharmacy: Add For EMedPass"); > > > >the assert fails. It gives the following output : > > >testCase1(JunitTest1): null >testCase1(JunitTest1) >null >java.lang.NullPointerException >at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.getWindowByTitle(HtmlUnitTestingEngineImpl.java:1027) >at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.hasWindowByTitle(HtmlUnitTestingEngineImpl.java:317) >at net.sourceforge.jwebunit.junit.WebTester.assertWindowPresentWithTitle(WebTester.java:2234) >at net.sourceforge.jwebunit.junit.JWebUnit.assertWindowPresentWithTitle(JWebUnit.java:1735) >at JunitTest1.testCase1(JunitTest1.java:70) >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >at java.lang.reflect.Method.invoke(Method.java:606) >at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) >at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) >at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) >at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) >at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) >at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) >at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) >at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) >at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) >at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) >at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) >at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) >at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) >at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) >at org.junit.runners.ParentRunner.run(ParentRunner.java:309) >at org.junit.runners.Suite.runChild(Suite.java:127) >at org.junit.runners.Suite.runChild(Suite.java:26) >at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) >at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) >at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) >at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) >at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) >at org.junit.runners.ParentRunner.run(ParentRunner.java:309) >at org.junit.runner.JUnitCore.run(JUnitCore.java:160) >at org.junit.runner.JUnitCore.run(JUnitCore.java:138) >at org.junit.runner.JUnitCore.run(JUnitCore.java:128) >at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:73) >at TestRunner1.main(TestRunner1.java:12) >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >at java.lang.reflect.Method.invoke(Method.java:606) >at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) > > >Here is the TestRunner class for reference: > > >Result result = JUnitCore.runClasses(JunitTest1.class); > System.out.println("\n\n\n"+result.getFailureCount()); > for(Failure failure : result.getFailures()){ > System.out.println(failure.toString()); > System.out.println(failure.getDescription()); > System.out.println(failure.getMessage()); > System.out.println(failure.getTrace()); > } > System.out.println(result.wasSuccessful()); > > > } > > >I'm new to the mailing list. If there is some protocol I'm ignoring, please let me know and I will make an endeavor to follow it next time. > > >Thanking you >Dhruv Shah > > > > > > > > >------------------------------------------------------------------------------ >Open source business process management suite built on Java and Eclipse >Turn processes into business applications with Bonita BPM Community Edition >Quickly connect people, data, and systems into organized workflows >Winner of BOSSIE, CODIE, OW2 and Gartner awards >http://p.sf.net/sfu/Bonitasoft > >_______________________________________________ >JWebUnit-users mailing list >JWe...@li... >https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > > >------------------------------------------------------------------------------ >Open source business process management suite built on Java and Eclipse >Turn processes into business applications with Bonita BPM Community Edition >Quickly connect people, data, and systems into organized workflows >Winner of BOSSIE, CODIE, OW2 and Gartner awards >http://p.sf.net/sfu/Bonitasoft >_______________________________________________ >JWebUnit-users mailing list >JWe...@li... >https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > |
From: Dhruv S. <dhr...@gm...> - 2014-07-08 13:23:24
|
But the jwebunit requires the junit maven dependencies to be present right? On Tue, Jul 8, 2014 at 6:17 PM, Julien HENRY <he...@ya...> wrote: > Hi, > > It seems your are mixing some Selenium (WebDriver) code and some JWebUnit > code. Please stick to a single web testing framework. > > ++ > > Julien > > ------------------------------ > *De :* Dhruv Shah <dhr...@gm...> > *À :* jwe...@li... > *Envoyé le :* Mardi 8 juillet 2014 14h37 > *Objet :* [JWebUnit-users] Fwd: Regarding "assertWindowPresentWithTitle()" > > > > Hello All, > > *When i use the following code(not using JWebUnit)* : > > String originalWindow = driver.getWindowHandle(); > for(String str:driver.getWindowHandles()){ > if(str!=originalWindow) > driver.switchTo().window(str); > } > assertEquals("New Pharmacy: Add For EMedPass",driver.getTitle()); > } > > *my code works perfectly. The test results returns a true*. > > *When i use the following code (using JWebUnit) :* > > for(String str:driver.getWindowHandles()){ > System.out.println(driver.switchTo().window(str).getTitle()); > } > assertWindowPresentWithTitle("New Pharmacy: Add For EMedPass"); > > *the assert fails. It gives the following output :* > > testCase1(JunitTest1): null > testCase1(JunitTest1) > null > java.lang.NullPointerException > at > net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.getWindowByTitle(HtmlUnitTestingEngineImpl.java:1027) > at > net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.hasWindowByTitle(HtmlUnitTestingEngineImpl.java:317) > at > net.sourceforge.jwebunit.junit.WebTester.assertWindowPresentWithTitle(WebTester.java:2234) > at > net.sourceforge.jwebunit.junit.JWebUnit.assertWindowPresentWithTitle(JWebUnit.java:1735) > at JunitTest1.testCase1(JunitTest1.java:70) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) > at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at org.junit.runners.Suite.runChild(Suite.java:127) > at org.junit.runners.Suite.runChild(Suite.java:26) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) > at org.junit.runners.ParentRunner.run(ParentRunner.java:309) > at org.junit.runner.JUnitCore.run(JUnitCore.java:160) > at org.junit.runner.JUnitCore.run(JUnitCore.java:138) > at org.junit.runner.JUnitCore.run(JUnitCore.java:128) > at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:73) > at TestRunner1.main(TestRunner1.java:12) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) > > *Here is the TestRunner class for reference:* > > Result result = JUnitCore.runClasses(JunitTest1.class); > System.out.println("\n\n\n"+result.getFailureCount()); > for(Failure failure : result.getFailures()){ > System.out.println(failure.toString()); > System.out.println(failure.getDescription()); > System.out.println(failure.getMessage()); > System.out.println(failure.getTrace()); > } > System.out.println(result.wasSuccessful()); > > } > > *I'm new to the mailing list. If there is some protocol I'm ignoring, > please let me know and I will make an endeavor to follow it next time. * > > *Thanking you* > *Dhruv Shah* > > > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > |
From: Julien H. <he...@ya...> - 2014-07-08 12:47:20
|
Hi, It seems your are mixing some Selenium (WebDriver) code and some JWebUnit code. Please stick to a single web testing framework. ++ Julien ________________________________ De : Dhruv Shah <dhr...@gm...> À : jwe...@li... Envoyé le : Mardi 8 juillet 2014 14h37 Objet : [JWebUnit-users] Fwd: Regarding "assertWindowPresentWithTitle()" Hello All, When i use the following code(not using JWebUnit) : String originalWindow = driver.getWindowHandle(); for(String str:driver.getWindowHandles()){ if(str!=originalWindow) driver.switchTo().window(str); } assertEquals("New Pharmacy: Add For EMedPass",driver.getTitle()); } my code works perfectly. The test results returns a true. When i use the following code (using JWebUnit) : for(String str:driver.getWindowHandles()){ System.out.println(driver.switchTo().window(str).getTitle()); } assertWindowPresentWithTitle("New Pharmacy: Add For EMedPass"); the assert fails. It gives the following output : testCase1(JunitTest1): null testCase1(JunitTest1) null java.lang.NullPointerException at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.getWindowByTitle(HtmlUnitTestingEngineImpl.java:1027) at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.hasWindowByTitle(HtmlUnitTestingEngineImpl.java:317) at net.sourceforge.jwebunit.junit.WebTester.assertWindowPresentWithTitle(WebTester.java:2234) at net.sourceforge.jwebunit.junit.JWebUnit.assertWindowPresentWithTitle(JWebUnit.java:1735) at JunitTest1.testCase1(JunitTest1.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runners.Suite.runChild(Suite.java:127) at org.junit.runners.Suite.runChild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at org.junit.runner.JUnitCore.run(JUnitCore.java:128) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:73) at TestRunner1.main(TestRunner1.java:12) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Here is the TestRunner class for reference: Result result = JUnitCore.runClasses(JunitTest1.class); System.out.println("\n\n\n"+result.getFailureCount()); for(Failure failure : result.getFailures()){ System.out.println(failure.toString()); System.out.println(failure.getDescription()); System.out.println(failure.getMessage()); System.out.println(failure.getTrace()); } System.out.println(result.wasSuccessful()); } I'm new to the mailing list. If there is some protocol I'm ignoring, please let me know and I will make an endeavor to follow it next time. Thanking you Dhruv Shah ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ JWebUnit-users mailing list JWe...@li... https://lists.sourceforge.net/lists/listinfo/jwebunit-users |
From: Dhruv S. <dhr...@gm...> - 2014-07-08 12:38:01
|
Hello All, *When i use the following code(not using JWebUnit)* : String originalWindow = driver.getWindowHandle(); for(String str:driver.getWindowHandles()){ if(str!=originalWindow) driver.switchTo().window(str); } assertEquals("New Pharmacy: Add For EMedPass",driver.getTitle()); } *my code works perfectly. The test results returns a true*. *When i use the following code (using JWebUnit) :* for(String str:driver.getWindowHandles()){ System.out.println(driver.switchTo().window(str).getTitle()); } assertWindowPresentWithTitle("New Pharmacy: Add For EMedPass"); *the assert fails. It gives the following output :* testCase1(JunitTest1): null testCase1(JunitTest1) null java.lang.NullPointerException at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.getWindowByTitle(HtmlUnitTestingEngineImpl.java:1027) at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.hasWindowByTitle(HtmlUnitTestingEngineImpl.java:317) at net.sourceforge.jwebunit.junit.WebTester.assertWindowPresentWithTitle(WebTester.java:2234) at net.sourceforge.jwebunit.junit.JWebUnit.assertWindowPresentWithTitle(JWebUnit.java:1735) at JunitTest1.testCase1(JunitTest1.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runners.Suite.runChild(Suite.java:127) at org.junit.runners.Suite.runChild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at org.junit.runner.JUnitCore.run(JUnitCore.java:128) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:73) at TestRunner1.main(TestRunner1.java:12) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) *Here is the TestRunner class for reference:* Result result = JUnitCore.runClasses(JunitTest1.class); System.out.println("\n\n\n"+result.getFailureCount()); for(Failure failure : result.getFailures()){ System.out.println(failure.toString()); System.out.println(failure.getDescription()); System.out.println(failure.getMessage()); System.out.println(failure.getTrace()); } System.out.println(result.wasSuccessful()); } *I'm new to the mailing list. If there is some protocol I'm ignoring, please let me know and I will make an endeavor to follow it next time. * *Thanking you* *Dhruv Shah* |
From: Dhruv S. <dhr...@gm...> - 2014-07-07 11:11:43
|
Hello All, *When i use the following code(not using JWebUnit)* : String originalWindow = driver.getWindowHandle(); for(String str:driver.getWindowHandles()){ if(str!=originalWindow) driver.switchTo().window(str); } assertEquals("New Pharmacy: Add For EMedPass",driver.getTitle()); } *my code works perfectly. The test results returns a true*. *When i use the following code (using JWebUnit) :* for(String str:driver.getWindowHandles()){ System.out.println(driver.switchTo().window(str).getTitle()); } assertWindowPresentWithTitle("New Pharmacy: Add For EMedPass"); *the assert fails. It gives the following output :* testCase1(JunitTest1): null testCase1(JunitTest1) null java.lang.NullPointerException at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.getWindowByTitle(HtmlUnitTestingEngineImpl.java:1027) at net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.hasWindowByTitle(HtmlUnitTestingEngineImpl.java:317) at net.sourceforge.jwebunit.junit.WebTester.assertWindowPresentWithTitle(WebTester.java:2234) at net.sourceforge.jwebunit.junit.JWebUnit.assertWindowPresentWithTitle(JWebUnit.java:1735) at JunitTest1.testCase1(JunitTest1.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runners.Suite.runChild(Suite.java:127) at org.junit.runners.Suite.runChild(Suite.java:26) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.junit.runner.JUnitCore.run(JUnitCore.java:160) at org.junit.runner.JUnitCore.run(JUnitCore.java:138) at org.junit.runner.JUnitCore.run(JUnitCore.java:128) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:73) at TestRunner1.main(TestRunner1.java:12) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) *Here is the TestRunner class for reference:* Result result = JUnitCore.runClasses(JunitTest1.class); System.out.println("\n\n\n"+result.getFailureCount()); for(Failure failure : result.getFailures()){ System.out.println(failure.toString()); System.out.println(failure.getDescription()); System.out.println(failure.getMessage()); System.out.println(failure.getTrace()); } System.out.println(result.wasSuccessful()); } *I'm new to the mailing list. If there is some protocol I'm ignoring, please let me know and I will make an endeavor to follow it next time. * *Thanking you* *Dhruv Shah* |
From: Jevon W. <je...@je...> - 2014-05-16 01:23:21
|
If you are using AJAX you might need to enable the NicelyResynchronizingAjaxController. saveAs(File) will always save the current window source code - if you are trying to get the source of the IFrame within the current dinwo, maybe you can get access to the IFrame by using getElementById() or getElementByXPath("//iframe") and seeing if there's a method to obtain source from there. All of the JWebUnit documentation and examples maintained by the maintainers are available on the Sourceforge website: http://jwebunit.sourceforge.net/quickstart.html Cheers Jevon On Thu, May 15, 2014 at 7:24 PM, Marco Ferretti <mar...@gm...>wrote: > Hi Jevon, > thanks for your feedback. > > Unfortunately the application is not publicly available (I should have > chosen a different one ... my bad); following your advice I have started > playing with the "extra" stuff of the application and setting > getTestingEngine().setThrowExceptionOnScriptError(false); > > seems to prevent the exception (making me suspicious about the what's > actually coming out of the portal). > Going back to my original problem, calling saveAs(File f) is still not > working for me : the content of the file is the page source which makes me > wonder what the click event is actually calling ... where can I find some > examples/documentation of JWebUnit ? > > > p.s. : I will try to follow up with the HtmlUnit people about the > exception. > > Cheers > > > > > On Thu, May 15, 2014 at 1:59 AM, Jevon Wright <je...@je...> wrote: > >> Hi, >> >> It looks like this could be a bug with HtmlUnit. All >> clickButtonWithText() does is send a click event through to HtmlUnit. Could >> you follow it up with them? Is the URL of the page you are testing publicly >> available? >> >> Alternatively maybe you can disable your CSS styles and see if there is a >> style that is causing the bug. Maybe the IFrame has some invalid styles or >> content. >> >> Cheers >> Jevon >> > > -- > -- > Marco Ferretti > [image: facebook] <http://facebook.com/marco.ferretti>[image: twitter]<http://twitter.com/marcoferretti>[image: > Linkedin] <http://it.linkedin.com/in/marcoferretti>[image: Website]<http://www.fermasoft.com> > [image: public key]<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3863B939F579CD16> > > > > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > JWebUnit-users mailing list > JWe...@li... > https://lists.sourceforge.net/lists/listinfo/jwebunit-users > > |