Package com.meterware.httpunit.scripting
Interface Input
- All Superinterfaces:
IdentifiedDelegate,NamedDelegate
- All Known Implementing Classes:
FormControl.Scriptable
An interface for scriptable delegates which represent form controls.
- Author:
- Russell Gold
-
Method Summary
Modifier and TypeMethodDescriptionvoidclick()simulate a clickvoidremoveAttribute(String attributeName) remove the given attributevoidfire a on change eventvoidset the given property to the given valuevoidsetAttribute(String attributeName, Object value) set the given attribute to the given valueMethods inherited from interface com.meterware.httpunit.scripting.IdentifiedDelegate
getIDMethods inherited from interface com.meterware.httpunit.scripting.NamedDelegate
getName
-
Method Details
-
get
-
set
set the given property to the given value- Parameters:
propertyName-value-
-
setAttribute
set the given attribute to the given value- Parameters:
attributeName-value-- Since:
- 1.7
-
removeAttribute
remove the given attribute- Parameters:
attributeName-- Since:
- 1.7
-
click
simulate a click- Throws:
IOExceptionSAXException
-
sendOnChangeEvent
void sendOnChangeEvent()fire a on change event
-