|
||||||||||
| 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.IEClickButtonTag
public class IEClickButtonTag
Clicks a provided button. Some example uses might be: Clicking on <input type="image" src="jameleon.jpg"> for the 3rd form on the page.
Clicking on <input type="image" alt="alt text"> for the 3rd form on the page.<ie-click-button functionId="Click an image button with the src ending in jameleon.jpg" identifier="jameleon.jpg" form="2"/>
Clicking on <input type="submit" value="some value"> for the form with the name "button" on the page.<ie-click-button functionId="Click on a image button with the alt text set" identifier="alt text" form="2"/>
Clicking on <input type="submit" name="some name"> for the form with the name "button" on the page.<ie-click-button functionId="Click on a image button with the provided value" value="some value" form="button"/>
Clicking on <input type="submit" name="some name" value="some value"> for the form with the name "button" on the page.<ie-click-button functionId="Click on a image button with the provided name" name="some name" form="button"/>
NOTE: The ie-attribute tags and the xpath element can also be used to find desired submit button.<ie-click-button functionId="Click on a image button with the provided name and value" name="some name" value="some value" form="button"/>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sf.jameleon.plugin.jiffie.IEFunctionTag |
|---|
IEFunctionTag.TagRunnable |
| Field Summary | |
|---|---|
protected String |
form
The name, id or index of the form with the button to click. |
protected String |
identifier
Best if used for input type=image or button. |
protected String |
name
The name of the button's name attribute. |
protected String |
value
The value of the button's vakue attribute. |
| 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 | |
|---|---|
IEClickButtonTag()
|
|
| 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 identifier
protected String name
protected String value
protected String form
| Constructor Detail |
|---|
public IEClickButtonTag()
| 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 | |||||||||