[webtest] INFO (com.canoo.webtest.ant.WebtestTask) - Canoo Webtest: R_1217.
 [config] INFO (com.canoo.webtest.engine.Configuration) - Surfing with browser 
Mozilla/4.0 (compatible; MSIE 6.0b; Windows 98)
   [invoke] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: invoke "get 
Login Page" (1/13)
   [invoke] INFO (com.canoo.webtest.steps.request.AbstractTargetAction) - -> 
gotoTarget by URL:
   [invoke] INFO (com.canoo.webtest.steps.request.TargetHelper) - getting 
response for url: http://localhost/myapp
   [invoke] INFO (org.apache.commons.httpclient.HttpMethodDirector) - Redirect 
requested but followRedirects is disabled
   [invoke] INFO (org.apache.commons.httpclient.HttpMethodDirector) - Redirect 
requested but followRedirects is disabled
   [invoke] INFO (com.canoo.webtest.engine.Context) - Content of window changed 
to http://localhost/myapp/Login.jsp
   [invoke] INFO (com.canoo.webtest.engine.Context) - Content loaded in newly 
opened window, its content will become current response
   [invoke] INFO (com.canoo.webtest.engine.Context) - Current form set to none
   [invoke] INFO (com.canoo.webtest.engine.Context) - Current response now: 
http://localhost/myapp/Login.jsp


[verifyTitle] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
verifyTitle "we should see the login title" (2/13)
[verifyElement] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
verifyElement "Check UserID" (3/13)
[verifyElement] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
verifyElement "Check Password" (4/13)
[verifyInputField] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
verifyInputField " check if userID blank" (5/13)
[verifyInputField] INFO (com.canoo.webtest.engine.Context) - Current form set 
to (action=/myapp/Login.do)
[verifyInputField] INFO (com.canoo.webtest.steps.form.AbstractSetFieldStep) - 
Found 1 suitable fields, considering only the first one
[verifyInputField] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
verifyInputField " check if loginPwd is blank" (6/13)
[verifyInputField] INFO (com.canoo.webtest.steps.form.AbstractSetFieldStep) - 
Found 1 suitable fields, considering only the first one


[setInputField] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
setInputField "<unknown>" (7/13)
[setInputField] INFO (com.canoo.webtest.steps.form.AbstractSetFieldStep) - 
Found 1 suitable fields, considering only the first one
[setInputField] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
setInputField "<unknown>" (8/13)
[setInputField] INFO (com.canoo.webtest.steps.form.AbstractSetFieldStep) - 
Found 1 suitable fields, considering only the first one



[clickElement] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
clickElement "Follow the link to the next page" (9/13)
[clickElement] INFO (com.canoo.webtest.steps.request.AbstractTargetAction) - -> 
gotoTarget by clickElement with id: LoginButton
[clickElement] INFO (org.apache.commons.httpclient.HttpMethodDirector) - 
Redirect requested but followRedirects is disabled
[clickElement] INFO (com.canoo.webtest.engine.Context) - Content of window 
changed to http://localhost/myapp/mywork.do


[clickElement] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: 
clickElement "<unknown>" (12/13)
[clickElement] INFO (com.canoo.webtest.steps.request.AbstractTargetAction) - -> 
gotoTarget by clickElement with id: myInterests
[clickElement] ERROR (com.gargoylesoftware.htmlunit.ScriptEngine) - error: 
message=[missing : after property id] 
sourceName=[http://local.live.com/JS/AtlasCompat.js] line=[217] lineSource=[    
       get xml(){ return (new XMLSerializer()).serializeToString(this);},] 
lineOffset=[10]
[clickElement] INFO (com.canoo.webtest.steps.Step) - Running with: Canoo 
Webtest: R_1217.
[clickElement] INFO (com.canoo.webtest.steps.Step) - Exception thrown from this 
class: com.canoo.webtest.engine.StepFailedException
[clickElement] INFO (com.canoo.webtest.steps.Step) - Message was: 
Step[clickElement "<unknown>" (12/13)]: Script error loading page executing 
webtest at: clickElement missing : after property id 
(http://local.live.com/JS/AtlasCompat.js#217)


The page 'myInterest' contains maps

Gaurav.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marc Guillemot
Sent: Wednesday, August 23, 2006 2:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [Webtest] Testing pages containing maps


Hi Gaurav,

the problem here seems not to be (directly) related to maps. How does 
the line look like where the error occurs?

Marc.

Pawar, Gaurav Kishor (Gaurav) wrote:
> Hi,
>  The application i have developed requires login information and on 
> authentication shows up a page which displays maps....
>  I want to automate tests for this module. However webtest is giving me error 
> [ com.gargoylesoftware.htmlunit.ScriptEngine]-error: message=[missing: after 
> property id] sourceName=http://local.live.com/JS/AtlasCompat.js]
> 
> 
> Please suggest..this application runs perfectly in a browser.
> I can also perform loggin into any other forms that do not display maps using 
> webtest
> 
> Thanks.
> 
> 
> 
> Regards,
> Gaurav
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to