[Webtest] No Suitable form found when field name has { }
Cynthia A Reece
webtest@lists.canoo.com
Tue, 4 Apr 2006 12:39:58 -0400
Hi all,
I am new to canoo and have been trying to build a few test scripts. I have
this code below which does not execute:
<setInputField
description="Enter an invalid email address"
formName="sendEmailForm"
value="creece@ccccom"
name="portlet_12_1{actionForm.fromField}" />
The error I get is:
BUILD FAILED
C:\canoo\doc\samples\ContactERICTest.xml:5: Canoo Webtest: R_1258.
Test failed.
Test step setInputField (C:\canoo\doc\samples\ContactERICTest.xml:26: )
named "
Enter an invalid email address" failed with message "No suitable form found
having field named "portlet_12_1{actionForm.fromField}""
I have confirmed the input box is in fact named correctly:
<input type="text" name="portlet_12_1{actionForm.fromField}"
id="portlet_12_1{actionForm.fromField}" size="40" class="inputFields"/>
I suspect the problem is with the { } in the form fields of the input box.
Can anyone confirm that this IS the problem and suggest a work around?
Thanks
Cynthia A. Reece
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------