I got the same error. Is there a way to fix the "cannot find function
findFirstElement"
error without disabling javascript? Disabling javascript causes the
<clicklink> to fail
because the link uses the javascript onClick event to go to the edit page.

The prototype.js calls the function findFirstElement on line 1956 but it
doesn't exist. How can this be fixed? Is there a repaired version of
prototype.js
somewhere?

Sincerely,
Wayne Walter


mraible wrote:
> 
> Does findFirstElement exist in prototype.js?  If so, you might try
> turning JavaScript off for this test.
> 
> Just add the following before <clicklink>:
> 
> <enableJavaScript enable="false"/>
> 
> Matt
> 
> On 4/13/07, Den Orlov <[EMAIL PROTECTED]> wrote:
>>
>> Following http://appfuse.org/display/APF/Using+JSF tutorial I've added
>> Canoo
>> WebTest. And while executing
>>
>> mvn -e integration-test -Dtest=SavePerson -Dsurefire.useFile=false
>> -Duser.language=en
>>
>> get this error:
>>
>> [INFO] Error executing ant tasks
>>
>> Embedded error: The following error occurred while executing this line:
>> C:\Projects\appfuse\appfuse-2.0\adplatform\src\test\resources\web-tests.xml:251:
>> Canoo Webtest: R_1454.
>> Test failed.
>> Test step steps
>> (C:\Projects\appfuse\appfuse-2.0\adplatform\src\test\resources\web-tests.xml:253:
>> ) null failed with message "Step[clicklink (8/14)]: Script error loading
>> page executing webtest at: clicklink Wrapped
>> com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find
>> function findFirstElement.
> 

-- 
View this message in context: 
http://www.nabble.com/canoo-web-test-failed-with-%22Cannot-find-function-findFirstElement%22-tf3570878s2369.html#a12982733
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to