Hi Marc,

I took the htmlUnit 2.5 snapshot directly this morning and plugged the jar's
into my webtest lib... that seems to have done trick for me as far as
overcoming the htmlUnit 2.4 issues I was having with the createComment
function...

I saw your comment this morning about a 3.0 version coming shortly... do you
think that will include htmlUnit 2.5 so I can take that release and get back
on track with a supported version...?

Cheers,
Colin.

On Tue, Feb 17, 2009 at 1:50 PM, Colin O'Brien <[email protected]> wrote:

> Hi Marc,
>
> Indeed, the mailing list is usually my first port of call, though any time
> I've sent attachments my mail gets bounced because it's over the mailing
> list max of 40k... :-)
>
> Case in point here...
> *******
> JS Error
> Is being held until the list moderator can review it for approval.
> The reason it is being held:
>    Message body is too big: 100276 bytes but there's a limit of 40 KB
> *******
>
> I guess you might say I should ask the question first and send attachments
> later... curses to my initiative...!!! ;-)
>
> In any case what would be the suggested workaround to this problem then..?
> Is there a config option in Webtest to turn off easyajax...?
>
> Kind Regards,
> Colin.
>
>
>
> On Tue, Feb 17, 2009 at 1:14 PM, Marc Guillemot <[email protected]>wrote:
>
>> Hi Colin,
>>
>> the mailing list is always better for this kind of questions ;-)
>>
>> The function createComment has been added in HtmlUnit... since release
>> 2.4 which is currently used by WebTest. I don't think that it is
>> possible to drop a recent snapshot of HtmlUnit in place of HtmlUnit-2.4
>> due to different incompatible changes (or perhaps is it possible when
>> easyajax is disabled).
>>
>> Cheers,
>> Marc.
>> --
>> Web: http://www.efficient-webtesting.com
>> Blog: http://mguillem.wordpress.com
>>
>>
>> Colin O'Brien wrote:
>> > Hi Marc,
>> >
>> > I'm experiencing some difficulties when interacting with some included
>> > JavaScript that has been introduced to a web app I'm testing...
>> >
>> > A move has been made recently from v 1.2.6 of the script to 1.3.1, and I
>> > now see the following error on any page Webtest attempts to open where
>> > this JS is included:
>> >     JavaScript error loading page
>> > http://127.0.0.1:8080/canoo/JQueryProb_1.3.1.html: TypeError: Cannot
>> > find function createComment in object [object].
>> >
>> > The problem seems to centre around this line in the JavaScript from the
>> > 'jquery-1.3.1.min.js' file:
>> >     S.appendChild(document.createComment(""))
>> >
>> > I have cut down the page to the simplest form and included all the files
>> > in this email.
>> >
>> > I have tried this against builds R_1737 and R_1746 of Webtest with the
>> > same result each time...
>> >
>> > Cheers,
>> > Colin.
>>
>>
>>
>>
>

Reply via email to