Hi Marc,
I tried with new build R_1719 but hit below errors
C:\Canoo\build>webtest -f webtest.xml wt.createProject
"java.exe" -Xms64M -Xmx256M -cp
"C:\Canoo\build\bin\..\lib\ant-launcher-1.7.0.ja
r" -Dant.library.dir="C:\Canoo\build\bin\..\lib"
"-Dlog4j.configuration=file:/C:
\Canoo\build\bin\..\lib/log4j.properties"
org.apache.tools.ant.launch.Launcher -
nouserlib -lib
"C:\Canoo\build\bin\..\lib\build;C:\Canoo\build\bin\..\lib\build\
clover.jar" -f webtest.xml wt.createProject
Buildfile: webtest.xml
wt.init:
wt.createProject:
[input] Enter your WebTest project name: [myWebTestProject]
ns
[echo]
[echo] Your WebTest project >ns< has been
successfully
created with some demo
[echo] tests to get started.
[echo] You can now just go to >C:\Canoo\build/ns<
and r
un ant.
[echo]
BUILD SUCCESSFUL
Total time: 3 seconds
C:\Canoo\build>cd ns
C:\Canoo\build\ns>webtest
"java.exe" -Xms64M -Xmx256M -cp
"C:\Canoo\build\bin\..\lib\ant-launcher-1.7.0.ja
r" -Dant.library.dir="C:\Canoo\build\bin\..\lib"
"-Dlog4j.configuration=file:/C:
\Canoo\build\bin\..\lib/log4j.properties"
org.apache.tools.ant.launch.Launcher -
nouserlib -lib
"C:\Canoo\build\bin\..\lib\build;C:\Canoo\build\bin\..\lib\build\
clover.jar"
Buildfile: build.xml
wt.init:
wt.init.headless:
wt.defineTimestamps:
wt.defineTasks.init:
wt.defineTasks:
wt.webtestMonitor:
[echo] C:\Canoo\build/tools/WebTestMonitor.groovy
wt.defineMacros:
[echo] Defining project macros and custom steps (if any)
wt.generateDtd:
[groovyScript] Scanning for entities...
[groovyScript] 1 entities found
[groovyScript] Already uptodate: C:\Canoo\build\ns\dtd\Project.dtd
wt.generateDefinitions:
[groovyScript] Scanning C:\Canoo\build\ns\definitions for definitions...
[groovyScript] 2 definitions found
[groovyScript] Already uptodate: C:\Canoo\build\ns\definitions.xml
wt.createReportsFolder:
wt.deleteReports:
wt.parallel.init:
wt.before.testInWork:
wt.testInWork:
[echo] Execution allTests.xml in dir C:\Canoo\build\ns\tests
test:
test:
[webtest] INFO (com.canoo.webtest.engine.Configuration) - Using
haltonerror f
rom project property wt.config.haltonerror: false
[webtest] INFO (com.canoo.webtest.engine.Configuration) - Using
haltonfailure
from project property wt.config.haltonfailure: false
[webtest] INFO (com.canoo.webtest.engine.Configuration) - Using
resultpath fr
om project property wt.config.resultpath: C:\Canoo\build\ns\results
[webtest] INFO (com.canoo.webtest.engine.Configuration) - Using
saveresponse
from project property wt.config.saveresponse: true
[webtest] INFO (com.canoo.webtest.engine.Configuration) - Using summary
from
project property wt.config.summary: true
[webtest] INFO (com.canoo.webtest.ant.WebtestTask) - No configuration
defined
, using default configuration.
[webtest] INFO (com.canoo.webtest.ant.WebtestTask) - Starting webtest
"check
that WebTest is Google's top 'WebTest' result"
(C:\Canoo\build\ns\tests\googleWe
bTest.xml:9: )
[webtest] INFO (com.canoo.webtest.ant.WebtestTask) - Canoo Webtest:
R_1719.
[null] INFO (com.canoo.webtest.engine.Configuration) - Using
haltonerror f
rom project property wt.config.haltonerror: false
[null] INFO (com.canoo.webtest.engine.Configuration) - Using
haltonfailure
from project property wt.config.haltonfailure: false
[null] INFO (com.canoo.webtest.engine.Configuration) - Using
resultpath fr
om project property wt.config.resultpath: C:\Canoo\build\ns\results
[null] INFO (com.canoo.webtest.engine.Configuration) - Using
saveresponse
from project property wt.config.saveresponse: true
[null] INFO (com.canoo.webtest.engine.Configuration) - Using summary
from
project property wt.config.summary: true
[null] INFO (com.canoo.webtest.engine.Configuration) - Creating result
dir
ectory: C:\Canoo\build\ns\results\001_CheckThatWebTest
[null] INFO (com.canoo.webtest.engine.Configuration) - Surfing with
browse
r 4.0 (compatible; MSIE 6.0; Windows 98)
BUILD FAILED
C:\Canoo\build\webtest.xml:230: The following error occurred while executing
thi
s line:
C:\Canoo\build\ns\tests\allTests.xml:5: The following error occurred while
execu
ting this line:
C:\Canoo\build\ns\tests\googleWebTest.xml:9: java.lang.NoSuchMethodError:
com.ga
rgoylesoftware.htmlunit.WebClient.setCookieManager(Lcom/gargoylesoftware/htmluni
t/CookieManager;)V
Total time: 3 seconds
Please, help me this.
With Regards,
NV
Marc Guillemot wrote:
>
> Nims_SQA wrote:
>> I have same issue facing.
>>
>> Anyone knows how to get rid of it -- please, provide some work around
>> solution.
>
> just upgrade to the latest build.
>
> Cheers,
> Marc.
> --
> Web: http://www.efficient-webtesting.com
> Blog: http://mguillem.wordpress.com
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>
>
--
View this message in context:
http://www.nabble.com/JavaScript-error-loading-page-http%3A--www.google.com--tp19322076p19777276.html
Sent from the WebTest mailing list archive at Nabble.com.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest