|
||||||||||
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.jiffie.IEFunctionTag net.sf.jameleon.plugin.jiffie.tags.IEValidationTag
public class IEValidationTag
Validates the title, text and links on the page. If no checks occur, then this tag will fail. Some example uses might be: To validate the title is 'Jameleon':
To validate the title is not 'Jameleon': To check that 'automated testing tool' is on the page: To check that a link with the given text 'some link' is on the page: Most of the attributes can support multiple values. For example, to check that 'automated testing tool' and 'book' are on the page:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.jameleon.plugin.jiffie.IEFunctionTag |
---|
IEFunctionTag.TagRunnable |
Field Summary | |
---|---|
protected List |
linkPresent
Link that should exist on the resulting page |
protected List |
textNotPresent
Text that should NOT exist on the resulting page |
protected List |
textPresent
Text that should exist on the resulting page |
protected String |
title
Expected title |
protected List |
titleNotEquals
Title that is NOT expected. |
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 | |
---|---|
IEValidationTag()
|
Method Summary | |
---|---|
void |
testBlock()
|
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 title
protected List titleNotEquals
protected List textPresent
protected List textNotPresent
protected List linkPresent
Constructor Detail |
---|
public IEValidationTag()
Method Detail |
---|
public void testBlock()
testBlock
in class FunctionTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |