|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jelly.TagSupport
net.sf.jameleon.LocationAwareTagSupport
net.sf.jameleon.JameleonTagSupport
net.sf.jameleon.function.FunctionTag
net.sf.jameleon.plugin.jiffie.IEFunctionTag
net.sf.jameleon.plugin.jiffie.tags.IEFireEventTag
net.sf.jameleon.plugin.jiffie.tags.IESetCheckboxTag
public class IESetCheckboxTag
This action point checks any checkbox in a form or not. Some example uses might be: Checking <input type="checkbox" name="checkBox1" value="one"</a>
Checking <input type="checkbox" name="checkBox1" value="one"</a> that doesn't exist in a form<ie-set-checkbox functionId="Set a checkbox in a given form to checked" name="checkBox1" checked="true" form="testForm"/>
Unchecking <input type="checkbox" name="checkBox3"</a><ie-set-checkbox functionId="Set a checkbox in a given form to checked" name="checkBox1" checked="true"/>
Checking a checkbox with the same name, but different value: <input type="checkbox" name="cb1" value="1"</a><input type="checkbox" name="cb1" value="2"</a><ie-set-checkbox functionId="Uncheck a given checkbox" name="checkBox3" checked="false" form="testForm"/>
NOTE: This tag does not currently support the xpath attribute nor the nested ie-attribute tags.<ie-set-checkbox functionId="Ckeck a checkbox 'cb1' with the value '1'. Notice that two checkboxes have the same name." name="cb1" value="1" checked="true" form="testForm"/>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sf.jameleon.plugin.jiffie.IEFunctionTag |
|---|
IEFunctionTag.TagRunnable |
| Field Summary | |
|---|---|
protected boolean |
checked
Check the checkbox if set to true; uncheck the checkbox if set to false. |
protected String |
form
The name, id or index of the field |
protected String |
name
The name of the checkbox field |
protected String |
value
The value of the checkbox field. |
| Fields inherited from class net.sf.jameleon.plugin.jiffie.tags.IEFireEventTag |
|---|
eventToFire, htmlElement, xpath |
| Fields inherited from class net.sf.jameleon.plugin.jiffie.IEFunctionTag |
|---|
elementFinder, frameId, frameName, frameSrc, highlightActiveElement, ie, session, visible, WAIT, workingForm |
| Fields inherited from class net.sf.jameleon.function.FunctionTag |
|---|
addt, breakPoint, expectException, expectFailure, fResults, functionDelay, functionId, lastFileWritten, log, NO_DELAY, params, postcondition, precondition, st, state, tct, vpt |
| Fields inherited from class net.sf.jameleon.JameleonTagSupport |
|---|
attributes, broker, contextVars, fp, unsupportedAttributes |
| Fields inherited from class net.sf.jameleon.LocationAwareTagSupport |
|---|
columnNumber, elementTagName, lineNumber, scriptFileName |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
|---|
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
|---|---|
IESetCheckboxTag()
|
|
| Method Summary | |
|---|---|
void |
testBlock()
|
| Methods inherited from class net.sf.jameleon.plugin.jiffie.tags.IEFireEventTag |
|---|
addParameter, fireEvent, getElementToFireEvent, setAttributes |
| Methods inherited from class net.sf.jameleon.JameleonTagSupport |
|---|
cleanVariablesInContext, createAttributes, describeAttributes, getAttributeBroker, getAttributes, getAttributeType, getClassAttributes, getFunctionalPoint, getUnsupportedAttributes, loadFunctionalPoint, resetFunctionalPoint, setAttribute, setVariableInContext, testForUnsupportedAttributesCaught |
| Methods inherited from class net.sf.jameleon.LocationAwareTagSupport |
|---|
getColumnNumber, getElementName, getFileName, getLineNumber, setColumnNumber, setElementName, setFileName, setLineNumber |
| Methods inherited from class org.apache.commons.jelly.TagSupport |
|---|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.jelly.Tag |
|---|
getBody, getContext, getParent, invokeBody, setBody, setContext, setParent |
| Field Detail |
|---|
protected String name
protected String value
protected boolean checked
protected String form
| Constructor Detail |
|---|
public IESetCheckboxTag()
| Method Detail |
|---|
public void testBlock()
testBlock in class IEFireEventTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||