Hi,

do you use a recent WebTest build? This error looks like something that has been fixed for a long time in HtmlUnit.

Cheers,
Marc.

Pham Ngoc Hoang a écrit :
Hi all,

I am just new to webtest canoo. I am trying to make a simple test case to work, but it always show me the error message. I attach here in this email the generated information. Please give me advices.
Thank you in advance.

Hoang Pham,
Milano, Italia


            *


                        x my simple Test

                Test started at Fri Oct 02 18:12:46 CEST 2009, lasting
                2774 ms.
Source: C:\motoSOFTWAREtestingPROJECT\tests\simpletest.xml:7: Base URL (used by *invoke* steps with a relative
                URL): http://localhost/

            #   Result  Name    Parameter       Duration
            *  1*       x
            Error
<file:///C:/motoSOFTWAREtestingPROJECT/tests/results/001_MySimpleTest/WebTestReport.html#error1> Page
            
<file:///C:/motoSOFTWAREtestingPROJECT/tests/results/001_MySimpleTest/001_response_invoke.html>
*invoke*
            Resulting page
            
<file:///C:/motoSOFTWAREtestingPROJECT/tests/results/001_MySimpleTest/001_response_invoke.html?baseUrl=http%3A//localhost/>
                
            url http://hoang-duong.appspot.com/

                2774
* 2* o *verifyTitle*
            text        Software Engineering Project - MOTO Cinema - Student
            PHAM NGOC HOANG

            *


        *Error*


          *Message*

    *JavaScript error loading page http://hoang-duong.appspot.com/:
    TypeError: Cannot find function createComment in object [object].*


          *Location*

    *C:\motoSOFTWAREtestingPROJECT\tests\simpletest.xml (line: 8)
    *

    *
    *
    *Back to Test Report Overview
    <file:///C:/motoSOFTWAREtestingPROJECT/tests/results/index.html>*




<project name="SimpleTest" basedir="." default="wt.full">

<property name="webtest.home" location="D:/SOFTWARE/DEV/TESTING TOOLS/WebTestCanoo" />
  <import file="${webtest.home}/webtest.xml"/>

  <target name="wt.testInWork">
    <webtest name="my simple Test">
      <invoke url="http://hoang-duong.appspot.com/"; />
<verifyTitle text="Software Engineering Project - MOTO Cinema - Student PHAM NGOC HOANG"/>
    </webtest>
  </target>
</project>


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

Reply via email to