Hi,

It's true that jWebUnit API is not easier than Selenium-RC API (except some 
very usefull assertions). But one of it's main advantage is to be compatible 
with different testing engines. Once your tests are written with jWebUnit, they 
could be executed thanks to HtmlUnit on your integration server each night. And 
for example, before each delivery, you could run them with Selenium to check 
compatibility with your customer's web browser.

++

Julien

----- Message d'origine ----
De : Ralph Pöllath <[EMAIL PROTECTED]>
À : Maven Users List <users@maven.apache.org>
Envoyé le : Jeudi, 10 Août 2006, 9h35mn 23s
Objet : Re: Maven and Selenium?

Hi,

I understand that Selenium by design requires a full-fledged browser,  
but isn't that also one of its greatest features? By running your  
tests using FF or IE, you can be sure they do work in their target  
environment, regardless of browser bugs.
So yes, the htmlunit approach makes testing easier to integrate with  
CI, but it doesn't give you the same results. This may be acceptable  
for many simple testcases though.

I just looked over the jWebUnit 2.x website very quickly, so I may be  
missing something. But how is test case writing with jWebUnit easier  
than using Selenium's IDE or DSL syntax?

Cheers,
-Ralph.


On 02.08.2006, at 10:02, Christophe DENEUX wrote:
> Hi Daniel,
>
> Some advantages of using jWebUnit to test a web application are:
>    - easier test case writing,
>    - faster test case running,
>    - No graphic server is needed with the engine "htmlunit", so the  
> integration into a continuous integration system is easier (no  
> browser is needed),
>    - Soon, you will use an engine for Selenium to run your tests  
> directly in your browser.
>
> jWebUnit home: http://jwebunit.sourceforge.net
>
> ______________________________________________________________________ 
> ______
>
> Christophe DENEUX / Capgemini Sud / Méditerranée
> Technical Leader
> Tel: + 33 4 93 72 43 74 / www.capgemini.com
> Fax: + 33 4 93 21 02 95
> Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice
>
> Join the Collaborative Business Experience
> ______________________________________________________________________ 
> ______
>
>
>
> Daniel Serodio a écrit :
>> Christophe DENEUX wrote:
>>
>>> Hi ,
>>>
>>> A snapshot repository is available at: http://maven.openqa.org/
>>>
>>> Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html)
>>> instead of Selenium for your functional tests? With jWebUnit, you  
>>> can
>>> run your tests with different engines as htmlunit or Selenium (the
>>> Selenium engine is available trough SVN). You will use the htmlunit
>>> engine to execute your tests in a background mode (continuous
>>> integration) and the selenium engine in a visual mode.
>>>
>> It's been a while since I looked at jWebUnit, and I'm currently using
>> Selenium; what is the advantage of using jWebUnit as you describe
>> instead of using Selenium directly? Do you have an URL with more  
>> info on
>> the subject?
>>
>> TIA,
>> Daniel Serodio


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Reply via email to