|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport net.sf.jameleon.LocationAwareTagSupport net.sf.jameleon.JameleonTagSupport net.sf.jameleon.function.FunctionTag net.sf.jameleon.plugin.watij.WatijFunctionTag net.sf.jameleon.plugin.watij.tags.AbstractWatijGetTag net.sf.jameleon.plugin.watij.tags.WatijAssertHtmlElementTag net.sf.jameleon.plugin.watij.tags.WatijAssertTextFieldTag
public class WatijAssertTextFieldTag
Gets a text field on the page and validates its attributes. For example:
To simply test that the element exists: To test that the element does not exist: If only symbol and element are defined, then the tag will be tested for existence. See the javadocs on watij'sSymbolFactory
for a complete list of supported symbols.
Field Summary |
---|
Fields inherited from class net.sf.jameleon.plugin.watij.tags.WatijAssertHtmlElementTag |
---|
disabled, exists, id, innerText, name, style, text, title, type, value |
Fields inherited from class net.sf.jameleon.plugin.watij.tags.AbstractWatijGetTag |
---|
contextVar, failOnNotExists, how, what |
Fields inherited from class net.sf.jameleon.plugin.watij.WatijFunctionTag |
---|
sessionTag, STORE_SOURCE_CONFIG_NAME, storeSourceOnStateChange |
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 | |
---|---|
WatijAssertTextFieldTag()
|
Method Summary | |
---|---|
HtmlElement |
getHtmlElement(Symbol how,
String what)
Gets the HtmlElement of interest. |
String |
getTagName()
The HTML Element name this tag is used to get. |
Methods inherited from class net.sf.jameleon.plugin.watij.tags.WatijAssertHtmlElementTag |
---|
assertAttributes, testBlock |
Methods inherited from class net.sf.jameleon.plugin.watij.tags.AbstractWatijGetTag |
---|
getHtmlElement, getPrefixMsg |
Methods inherited from class net.sf.jameleon.plugin.watij.WatijFunctionTag |
---|
getParentBrowser, getSymbolFromString, ie, setCurrentIE, setupEnvironment, store |
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 |
Constructor Detail |
---|
public WatijAssertTextFieldTag()
Method Detail |
---|
public HtmlElement getHtmlElement(Symbol how, String what) throws Exception
AbstractWatijGetTag
getHtmlElement
in class WatijAssertHtmlElementTag
how
- - How to search for the elementwhat
- - What to search for.
Exception
public String getTagName()
AbstractWatijGetTag
img tag
getTagName
in class WatijAssertHtmlElementTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |