Hi,
I'm working on it (you can checkout the trunk if you want to help). But
selenium RC is missing some functionnalities that prevent a 100% compatibility
with HtmlUnit Testing Engine.
There is also another major issue : HtmlUnit is synchronus, whereas Selenium is
asynchronus. When you click on a link with HtmlUnit, the function returns only
when the page is loaded or JavaScript executed. But with Selenium, you have to
explicitly call: waitForPageToLoad. But with JavaScript, sometimes clicking a
link do not open a page. So you wait until timeout is fired, and you can't know
if it was due to server overload that prevented page to load or that no page
loading was expected.
That's why I think we will have to add new functions to the API that will be
Selenium specific. I'm unhappy with this solution, because I hoped existing
tests may pass with Selenium with only minor fix... but if you have to specify
after each click whether a page will load or not... it's major rewriting IMO.
++
Julien
----- Message d'origine ----
De : Kenji Nightingale <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Lundi, 14 Mai 2007, 23h47mn 21s
Objet : [JWebUnit-users] Jwebunit 2.0?
Hello,
Could someone tell
me when JWebUnit 2.0 is going to be released?
The Selenium plugin
feature along with JWebUnit's robust APIs will be an awesome
help.
Thanks---
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail -------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
JWebUnit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users