[Webtest] HTMLUnit
Lisa Crispin
webtest@lists.canoo.com
Thu, 04 Nov 2004 17:10:38 +0000
--NextPart_Webmail_9m3u9jl4l_13996_1099588238_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
So far we have not been able to fix our problem where HTMLUnit is giving us an error. We are going to keep looking, but I have two questions:
1. Why does HTMLUnit give an error on javascript that is included, but not executed on a page? Is this normal behavior for HTMLUnit?
2. Has anyone seen this error, or can anyone give us any clues as to how to fix it?
The error message in the result file points to the submitBtn, but it is the page that the submitBtn would bring up that actually contains the include for the javascript (almost all our pages have this include). Again, this page does not actually USE the javascript, only has an include for it. The first part of the error message:
[testSpec] EcmaError: lineNumber=[186] column=[0] lineSource=[crossobj=(dom)?window.document.getElementById('calendar').style : ie? window.document.all.calendar : window.document.calendar;] name=[TypeError] sourceName=[/include/javascript/calendar/popcalendar.js] message=[Cannot convert null to an object.] errorObject=[TypeError: Cannot convert null to an object.]
[testSpec] com.gargoylesoftware.htmlunit.ScriptException: Cannot convert null to an object.
[testSpec] at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:275)
...
The javascript in question is popcalendar.js, we got it from www.pengz.com but now this site is inactive.
Here is the block of code from the javascript where the error occurs. I appreciate any clues anyone can give!
function init() {
if (!ns4)
{
if (!ie) yearNow += 1900;
crossobj=(dom)?window.document.getElementById('calendar').style : ie?window.document.all.calendar : window.document.calendar;
hideCalendar();
crossMonthObj = (dom) ? window.document.getElementById('selectMonth').style : ie ? window.document.all.selectMonth : window.document.selectMonth;
crossYearObj = (dom) ? window.document.getElementById('selectYear').style : ie ? window.document.all.selectYear : window.document.selectYear;
monthConstructed = false;
yearConstructed = false;
if (showToday == 1) {
window.document.getElementById('lblToday').innerHTML = '<font color="#000066">' + todayString[language] + ' <a onmousemove="window.status=\''+gotoString[language]+'\'" onmouseout="window.status=\'\'" title="'+gotoString[language]+'" style="'+styleAnchor+'" href="javascript:monthSelected=monthNow;yearSelected=yearNow;constructCalendar();">'+dayName[language][(today.getDay()-startAt==-1)?6:(today.getDay()-startAt)]+', ' + dateNow + ' ' + monthName[language][monthNow].substring(0,3) + ' ' + yearNow + '</a></font>';
}
sHTML1 = '<span id="spanLeft" style="border:1px solid #36f;cursor:pointer" onmouseover="swapImage(\'changeLeft\',\'left2.gif\');this.style.borderColor=\'#8af\';window.status=\''+scrollLeftMessage[language]+'\'" onclick="decMonth()" onmouseout="clearInterval(intervalID1);swapImage(\'changeLeft\',\'left1.gif\');this.style.borderColor=\'#36f\';window.status=\'\'" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout(\'StartDecMonth()\',500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)"> <img id="changeLeft" src="'+imgDir+'left1.gif" width="10" height="11" border="0"> </span> ';
sHTML1 += '<span id="spanRight" style="border:1px solid #36f;cursor:pointer" onmouseover="swapImage(\'changeRight\',\'right2.gif\');this.style.borderColor=\'#8af\';window.status=\''+scrollRightMessage[language]+'\'" onmouseout="clearInterval(intervalID1);swapImage(\'changeRight\',\'right1.gif\');this.style.borderColor=\'#36f\';window.status=\'\'" onclick="incMonth()" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout(\'StartIncMonth()\',500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)"> <img id="changeRight" src="'+imgDir+'right1.gif" width="10" height="11" border="0"> </span> ';
sHTML1 += '<span id="spanMonth" style="border:1px solid #36f;cursor:pointer" onmouseover="swapImage(\'changeMonth\',\'drop2.gif\');this.style.borderColor=\'#8af\';window.status=\''+selectMonthMessage[language]+'\'" onmouseout="swapImage(\'changeMonth\',\'drop1.gif\');this.style.borderColor=\'#36f\';window.status=\'\'" onclick="popUpMonth()"></span> ';
sHTML1 += '<span id="spanYear" style="border:1px solid #36f;cursor:pointer" onmouseover="swapImage(\'changeYear\',\'drop2.gif\');this.style.borderColor=\'#8af\';window.status=\''+selectYearMessage[language]+'\'" onmouseout="swapImage(\'changeYear\',\'drop1.gif\');this.style.borderColor=\'#36f\';window.status=\'\'" onclick="popUpYear()"></span> ';
window.document.getElementById('caption').innerHTML = sHTML1;
bPageLoaded=true;
}
}
-------------- Original message from "Dierk Koenig" <dierk.koenig@canoo.com>: --------------
Hi Lisa,
I guess we will see quite some of those errors until the migration is finished.
Thanx for trying the snapshot and posting the error. This is the only way for us to
find the issues. I'm sorry for the extra work that we put on you.
Concerning the issue below I would assume that there is a difference
between the working and the failing "click". Most likely it is in the Html/JS of the
current page.
Could you provide the pages or at least the snippets that contain the
concerning html tags?
Is there anything else written to the console beside the stacktrace?
cheers
Mittie
-----Original Message-----
From: webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com]On Behalf Of Lisa Crispin
Sent: Mittwoch, 3. November 2004 23:03
To: webtest@lists.canoo.com
Subject: RE: [Webtest] HTMLUnit
Hi,
I downloaded the new version (build 548) from the download page, and commented out all the extensions stuff in webtestTaskdefs.properties. I also had to take the verbose option out of my config.xml file, as it is deprecated (I try to keep ahead of the to-be-deprecated stuff but I missed that one!)
When I tried to run an existing script, I got this error:
Unexpected exception caught: com.gargoylesoftware.htmlunit.ScriptException: Cannot convert null to an object.
With the stacktrace below. The clicklink it complains about is simply:
<clicklink stepid="Click the Plan Administration Link"
label="plan administration login"/>
I tried a different script, this one got the same error on a clickbutton. However, when I ran a third script that has exactly the same clickbutton step (same page, same button), it worked fine. Needless to say, all these work fine with the older version I have from September, build 516. I'm baffled!
What is wrong?
thanks,
Lisa
Stacktrace:
com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: com.gargoylesoftware.htmlunit.ScriptException: Cannot convert null to an object., Step: ClickLink at C:\java\eplan\test\WebTest\SmokeTest\PlanAdminTourTest.xml:36: with (label="plan administration login", stepId="Click the Plan Administration Link", stepType="clicklink")
at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:399)
at com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:110)
at com.canoo.webtest.steps.request.ClickLink.doExecute(ClickLink.java:67)
at com.canoo.webtest.steps.Step.execute(Step.java:129)
at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)
at com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:420)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
at org.apache.tools.ant.Main.runBuild(Main.java:669)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
-------------- Original message from "Dierk Koenig" <dierk.koenig@canoo.com>: --------------
Hi Lisa,
for a preview you can go to the newly created download page and get the snapshot.
Note that with the snapshot your custom steps and most of the extension steps do not
work, yet. But it should be good enough to run the core steps.
cheers
Mittie
-----Original Message-----
From: webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com]On Behalf Of Lisa Crispin
Sent: Mittwoch, 3. November 2004 18:42
To: webtest@lists.canoo.com
Subject: Re: [Webtest] HTMLUnit
Hi Marc,
Thank you so much for the information. From the postings, it sounds like the release based on HTMLUnit will happen fairly soon? Are we talking weeks? It will be something to distract me from my post-election depression.
thanks,
Lisa
-------------- Original message from Marc Guillemot <mguillemot@yahoo.fr>: --------------
> Hi Lisa,
>
> Comment below
>
> > I saw Marc's posting from last week about the HTMLUnit migration. As we
> > must test a new UI in the next two months that has a significant amount
> > of Javascript, I would like to know:
> >
> > Will the HTMLUnit mean that we should be able to test this with WebTest
> > scripts? (Seems I have seen postings to this effect)
>
> I would only say, that it will allow to test more JavaScript features and that
> it's easier to implement missing js
> functionnalities (for java programmers). While working on the migration, I've
> improved (just a bit) the javascript
> support of htmlunit for the need of the selftests.
>
> > How long until I can actually install and use Canoo WebTest based on
> > HTMLUnit? (Not to sound impatient). Is there a list of new features
> > somewhere that this release will have?
>
> Currently not. If you look at
> http://htmlunit.sourceforge.net/javascriptConfiguration.html, you can have an
> idea of
> which js features htmlunit currently accepts.
>
> > If HTMLUnit isn't the answer for Javascript support, should I be looking
> > at Groovy, or what?
>
> Groovy "just" allows to write more flexible test scripts. It has nothing to do
> with Javascript support.
>
> Marc.
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
--NextPart_Webmail_9m3u9jl4l_13996_1099588238_0
Content-Type: text/html
Content-Transfer-Encoding: 8bit
<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV>So far we have not been able to fix our problem where HTMLUnit is giving us an error. We are going to keep looking, but I have two questions:</DIV>
<DIV>1. Why does HTMLUnit give an error on javascript that is included, but not executed on a page? Is this normal behavior for HTMLUnit?</DIV>
<DIV>2. Has anyone seen this error, or can anyone give us any clues as to how to fix it?</DIV>
<DIV> </DIV>
<DIV>The error message in the result file points to the submitBtn, but it is the page that the submitBtn would bring up that actually contains the include for the javascript (almost all our pages have this include). Again, this page does not actually USE the javascript, only has an include for it. The first part of the error message:</DIV>
<DIV> </DIV>
<DIV> [testSpec] EcmaError: lineNumber=[186] column=[0] lineSource=[crossobj=(dom)?window.document.getElementById('calendar').style : ie? window.document.all.calendar : window.document.calendar;] name=[TypeError] sourceName=[/include/javascript/calendar/popcalendar.js] message=[Cannot convert null to an object.] errorObject=[TypeError: Cannot convert null to an object.]<BR> [testSpec] com.gargoylesoftware.htmlunit.ScriptException: Cannot convert null to an object.<BR> [testSpec] at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:275)<BR>...</DIV>
<DIV> </DIV>
<DIV>The javascript in question is popcalendar.js, we got it from <A href="http://www.pengz.com">www.pengz.com</A> but now this site is inactive.</DIV>
<DIV> </DIV>
<DIV>Here is the block of code from the javascript where the error occurs. I appreciate any clues anyone can give!</DIV>
<DIV>function init() {<BR> if (!ns4)<BR> {<BR> if (!ie) yearNow += 1900;<BR> crossobj=(dom)?window.document.getElementById('calendar').style : ie?window.document.all.calendar : window.document.calendar;<BR> hideCalendar();<BR> crossMonthObj = (dom) ? window.document.getElementById('selectMonth').style : ie ? window.document.all.selectMonth : window.document.selectMonth;<BR> crossYearObj = (dom) ? window.document.getElementById('selectYear').style : ie ? window.document.all.selectYear : window.document.selectYear;<BR> monthConstructed = false;<BR> yearConstructed = false;<BR> <BR> if (showToday == 1) {<BR> window.document.getElementById('lblToday').innerHTML = '<font color="#000066">' + todayString[language] + ' <a onmousemove="window.status=\''+gotoString[language]+'\'" onmouseout="window.status=\'\'" title="'+gotoString[language]+'" style="'+styleAnchor+'" href="javascript:monthSelected=monthNow;yearSelected=yearNow;constructCalendar();">'+dayName[language][(today.getDay()-startAt==-1)?6:(today.getDay()-startAt)]+', ' + dateNow + ' ' + monthName[language][monthNow].substring(0,3) + ' ' + yearNow + '</a></font>';<BR> }<BR> sHTML1 = '<span id="spanLeft" style="border:1px solid #36f;cursor:pointer" onmouseover="swapImage(\'changeLeft\',\'left2.gif\');this.style.borderColor=\'#8af\';window.status=\''+scrollLeftMessage[language]+'\'" onclick="decMonth()" onmouseout="clearInterval(intervalID1);swapImage(\'changeLeft\',\'left1.gif\');this.style.borderColor=\'#36f\';window.status=\'\'" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout(\'StartDecMonth()\',500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)">&nbsp<img id="changeLeft" src="'+imgDir+'left1.gif" width="10" height="11" border="0">&nbsp</span>&nbsp;';<BR> sHTML1 += '<span id="spanRight" style="border:1px solid #36f;cursor:pointer" onmouseover="swapImage(\'changeRight\',\'right2.gif\');this.style.borderColor=\'#8af\';window.status=\''+scrollRightMessage[language]+'\'" onmouseout="clearInterval(intervalID1);swapImage(\'changeRight\',\'right1.gif\');this.style.borderColor=\'#36f\';window.status=\'\'" onclick="incMonth()" onmousedown="clearTimeout(timeoutID1);timeoutID1=setTimeout(\'StartIncMonth()\',500)" onmouseup="clearTimeout(timeoutID1);clearInterval(intervalID1)">&nbsp<img id="changeRight" src="'+imgDir+'right1.gif" width="10" height="11" border="0">&nbsp</span>&nbsp;';<BR> sHTML1 += '<span id="spanMonth" style="border:1px solid #36f;cursor:pointer" onmouseover="swapImage(\'changeMonth\',\'drop2.gif\');this.style.borderColor=\'#8af\';window.status=\''+selectMonthMessage[language]+'\'" onmouseout="swapImage(\'changeMonth\',\'drop1.gif\');this.style.borderColor=\'#36f\';window.status=\'\'" onclick="popUpMonth()"></span>&nbsp;';<BR> sHTML1 += '<span id="spanYear" style="border:1px solid #36f;cursor:pointer" onmouseover="swapImage(\'changeYear\',\'drop2.gif\');this.style.borderColor=\'#8af\';window.status=\''+selectYearMessage[language]+'\'" onmouseout="swapImage(\'changeYear\',\'drop1.gif\');this.style.borderColor=\'#36f\';window.status=\'\'" onclick="popUpYear()"></span>&nbsp;';<BR> <BR> window.document.getElementById('caption').innerHTML = sHTML1;<BR> bPageLoaded=true;<BR> }<BR> }</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message from "Dierk Koenig" <dierk.koenig@canoo.com>: -------------- <BR><BR><!-- BEGIN WEBMAIL STATIONERY -->
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>Hi Lisa,</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>I guess we will see quite some of those errors until the migration is finished.</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>Thanx for trying the snapshot and posting the error. This is the only way for us to</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>find the issues. I'm sorry for the extra work that we put on you.</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>Concerning the issue below I would assume that there is a difference</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>between the working and the failing "click". Most likely it is in the Html/JS of the</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>current page.</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>Could you provide the pages or at least the snippets that contain the </FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>concerning html tags?</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>Is there anything else written to the console beside the stacktrace?</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>cheers</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2>Mittie</FONT></SPAN></DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=943112122-03112004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com]<B>On Behalf Of </B>Lisa Crispin<BR><B>Sent:</B> Mittwoch, 3. November 2004 23:03<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> RE: [Webtest] HTMLUnit<BR><BR></FONT></DIV><!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV>Hi,</DIV>
<DIV>I downloaded the new version (build 548) from the download page, and commented out all the extensions stuff in webtestTaskdefs.properties. I also had to take the verbose option out of my config.xml file, as it is deprecated (I try to keep ahead of the to-be-deprecated stuff but I missed that one!)</DIV>
<DIV> </DIV>
<DIV>When I tried to run an existing script, I got this error:</DIV>
<DIV>Unexpected exception caught: com.gargoylesoftware.htmlunit.ScriptException: Cannot convert null to an object.</DIV>
<DIV>With the stacktrace below. The clicklink it complains about is simply:</DIV>
<DIV> <clicklink stepid="Click the Plan Administration Link"<BR> label="plan administration login"/></DIV>
<DIV> </DIV>
<DIV>I tried a different script, this one got the same error on a clickbutton. However, when I ran a third script that has exactly the same clickbutton step (same page, same button), it worked fine. Needless to say, all these work fine with the older version I have from September, build 516. I'm baffled!</DIV>
<DIV> </DIV>
<DIV>What is wrong?</DIV>
<DIV>thanks,</DIV>
<DIV>Lisa</DIV>
<DIV> </DIV>
<DIV>Stacktrace:</DIV>
<DIV><PRE>com.canoo.webtest.engine.StepExecutionException: Unexpected exception caught: com.gargoylesoftware.htmlunit.ScriptException: Cannot convert null to an object., Step: ClickLink at C:\java\eplan\test\WebTest\SmokeTest\PlanAdminTourTest.xml:36: with (label="plan administration login", stepId="Click the Plan Administration Link", stepType="clicklink")
at com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:399)
at com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:110)
at com.canoo.webtest.steps.request.ClickLink.doExecute(ClickLink.java:67)
at com.canoo.webtest.steps.Step.execute(Step.java:129)
at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:26)
at com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:420)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
at org.apache.tools.ant.Task.perform(Task.java:401)
at org.apache.tools.ant.Target.execute(Target.java:338)
at org.apache.tools.ant.Target.performTasks(Target.java:365)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
at org.apache.tools.ant.Main.runBuild(Main.java:669)
at org.apache.tools.ant.Main.startAnt(Main.java:220)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
</PRE></DIV>
<DIV> </DIV>
<DIV><BR> </DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message from "Dierk Koenig" <dierk.koenig@canoo.com>: -------------- <BR><BR><!-- BEGIN WEBMAIL STATIONERY -->
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<DIV><SPAN class=718364918-03112004><FONT face=Arial color=#0000ff size=2>Hi Lisa,</FONT></SPAN></DIV>
<DIV><SPAN class=718364918-03112004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=718364918-03112004><FONT face=Arial color=#0000ff size=2>for a preview you can go to the newly created download page and get the snapshot.</FONT></SPAN></DIV>
<DIV><SPAN class=718364918-03112004><FONT face=Arial color=#0000ff size=2>Note that with the snapshot your custom steps and most of the extension steps do not</FONT></SPAN></DIV>
<DIV><SPAN class=718364918-03112004><FONT face=Arial color=#0000ff size=2>work, yet. But it should be good enough to run the core steps.</FONT></SPAN></DIV>
<DIV><SPAN class=718364918-03112004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=718364918-03112004><FONT face=Arial color=#0000ff size=2>cheers</FONT></SPAN></DIV>
<DIV><SPAN class=718364918-03112004><FONT face=Arial color=#0000ff size=2>Mittie</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com]<B>On Behalf Of </B>Lisa Crispin<BR><B>Sent:</B> Mittwoch, 3. November 2004 18:42<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> Re: [Webtest] HTMLUnit<BR><BR></FONT></DIV><!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV>Hi Marc,</DIV>
<DIV>Thank you so much for the information. From the postings, it sounds like the release based on HTMLUnit will happen fairly soon? Are we talking weeks? It will be something to distract me from my post-election depression.</DIV>
<DIV>thanks,</DIV>
<DIV>Lisa</DIV><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message from Marc Guillemot <mguillemot@yahoo.fr>: -------------- <BR><BR><BR>> Hi Lisa, <BR>> <BR>> Comment below <BR>> <BR>> > I saw Marc's posting from last week about the HTMLUnit migration. As we <BR>> > must test a new UI in the next two months that has a significant amount <BR>> > of Javascript, I would like to know: <BR>> > <BR>> > Will the HTMLUnit mean that we should be able to test this with WebTest <BR>> > scripts? (Seems I have seen postings to this effect) <BR>> <BR>> I would only say, that it will allow to test more JavaScript features and that <BR>> it's easier to implement missing js <BR>> functionnalities (for java programmers). While working on the migration, I've <BR>> improved (just a bit) the javascript <BR>> support of htmlunit for the need of the selftests. <BR>> <BR>> > How long until I can actually install and use Canoo WebTest based on <BR>> > HTMLUnit? (Not to sound impatient). Is there a list of new features <BR>> > somewhere that this release will have? <BR>> <BR>> Currently not. If you look at <BR>> http://htmlunit.sourceforge.net/javascriptConfiguration.html, you can have an <BR>> idea of <BR>> which js features htmlunit currently accepts. <BR>> <BR>> > If HTMLUnit isn't the answer for Javascript support, should I be looking <BR>> > at Groovy, or what? <BR>> <BR>> Groovy "just" allows to write more flexible test scripts. It has nothing to do <BR>> with Javascript support. <BR>> <BR>> Marc. <BR>> <BR>> _______________________________________________ <BR>> WebTest mailing list <BR>> WebTest@lists.canoo.com <BR>> http://lists.canoo.com/mailman/listinfo/webtest </BLOCKQUOTE></BLOCKQUOTE><!-- END WEBMAIL STATIONERY --></BLOCKQUOTE></BLOCKQUOTE><!-- END WEBMAIL STATIONERY --></BLOCKQUOTE>
<!-- END WEBMAIL STATIONERY -->
</body>
</html>
--NextPart_Webmail_9m3u9jl4l_13996_1099588238_0--