A tag which sets a text area to the provided value.
To use XPath to set a text field named testTextArea that exists in a form with the name testform:
<htmlunit-set-text-area
functionId="Set the testTextArea field to 'some value'"
xpath="//form[@name='testform']/textarea[@name='testTextArea']"
value="some value"/>
To use XPath to set a text area named testTextArea that doesn't exist in a form:
<htmlunit-set-text-area
functionId="Set the testTextArea field to 'some value'"
xpath="//input[@name='testTextArea']"
value="some value"/>
To to set a text area named testTextArea that exists in a form with id or name of form_test w/o using XPath:
<htmlunit-set-text-area
functionId="Set the testTextArea field to 'some value'"
form="form_test"
fieldName="testTextArea"
value="some value"/>
To to set a text area named testTextArea that exists in the 2nd form form_test w/o using XPath:
<htmlunit-set-text-area
functionId="Set the testTextArea field to 'some value'"
form="2"
fieldName="testTextArea"
value="some value"/>
To to set a text field named testTextArea that exists in form define by //table/tr[3]/td/form XPath:
<htmlunit-set-text-area
functionId="Set the testTextArea field to 'some value'"
form="//table/tr[3]/td/form"
fieldName="testTextArea"
value="some value"/>