2 messages in com.canoo.lists.webtest[Webtest] javascript and webtest
FromSent OnAttachments
Stefanie Wilms22 Apr 2006 07:35 
Marc Guillemot25 Apr 2006 00:45 
Subject:[Webtest] javascript and webtest
From:Stefanie Wilms (stef@ilms.de)
Date:04/22/2006 07:35:17 AM
List:com.canoo.lists.webtest

Hi,

after successfully writing my first tests I need some help with the following error. Apparently there is a problem with strings containing pointed brackets.

I get this error message:

[setSelectField] ERROR (com.gargoylesoftware.htmlunit.ScriptEngine) - error: mes sage=[unterminated string literal] sourceName=[Embedded script in http://127.0.0 .1:8080/trans/StatusFeedBack.do] line=[6] lineSource=[ dialogCo ntent = ' ] lineOffset=[20]

This is the corresponding part of the code:

<script language="javascript" type="text/javascript"> function openDialog(name, width, height, windowAttributes) { var dialogWindow; var dialogContent; dialogWindow = bwOpenCentered('', name, width, height, windowAttributes); dialogWindow.document.open(); dialogContent = ' <!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">'

Thanks in advance,