|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.ResponseXPath
public class ResponseXPath
Lets you call the WebTester XPath functions without throwing assertion failed errors.
Method Summary | |
---|---|
java.lang.String |
getElementAttributeValue(java.lang.String attribute)
Returns the value of an attribute on an element in the current response stored in the WebTester. |
static java.lang.String |
getElementAttributeValue(java.lang.String elementXPath,
java.lang.String attribute)
Deprecated. |
static java.lang.String |
getElementAttributeValue(java.lang.String elementXPath,
java.lang.String attribute,
net.sourceforge.jwebunit.junit.WebTester webTester)
Deprecated. |
java.lang.String |
getElementText()
Returns the inner text of an element in the current response stored in the WebTester. |
static java.lang.String |
getElementText(java.lang.String elementXPath)
Deprecated. |
static java.lang.String |
getElementText(java.lang.String elementXPath,
net.sourceforge.jwebunit.junit.WebTester webTester)
Deprecated. |
boolean |
hasElement()
Returns true if an element in the current response stored in the WebTester matches the given xpath, otherwise returns false. |
static boolean |
hasElement(java.lang.String elementXPath)
Deprecated. |
static boolean |
hasElement(java.lang.String elementXPath,
net.sourceforge.jwebunit.junit.WebTester webTester)
Deprecated. |
static ResponseXPath |
responseXPath(java.lang.String elementXPath)
|
static ResponseXPath |
responseXPath(net.sourceforge.jwebunit.junit.WebTester webTester,
java.lang.String elementXPath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated public static java.lang.String getElementAttributeValue(java.lang.String elementXPath, java.lang.String attribute)
@Deprecated public static java.lang.String getElementAttributeValue(java.lang.String elementXPath, java.lang.String attribute, net.sourceforge.jwebunit.junit.WebTester webTester)
@Deprecated public static java.lang.String getElementText(java.lang.String elementXPath)
@Deprecated public static java.lang.String getElementText(java.lang.String elementXPath, net.sourceforge.jwebunit.junit.WebTester webTester)
@Deprecated public static boolean hasElement(java.lang.String elementXPath)
@Deprecated public static boolean hasElement(java.lang.String elementXPath, net.sourceforge.jwebunit.junit.WebTester webTester)
public static ResponseXPath responseXPath(java.lang.String elementXPath)
public static ResponseXPath responseXPath(net.sourceforge.jwebunit.junit.WebTester webTester, java.lang.String elementXPath)
public boolean hasElement()
public java.lang.String getElementText()
public java.lang.String getElementAttributeValue(java.lang.String attribute)
attribute
- the name of the attribute whose value will be returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |