@Deprecated public class ResponseXPath extends Object
Modifier and Type | Method and Description |
---|---|
String |
getElementAttributeValue(String attribute)
Deprecated.
Returns the value of an attribute on an element in the current response stored in the WebTester.
|
static String |
getElementAttributeValue(String elementXPath,
String attribute)
Deprecated.
|
static String |
getElementAttributeValue(String elementXPath,
String attribute,
net.sourceforge.jwebunit.junit.WebTester webTester)
Deprecated.
|
String |
getElementText()
Deprecated.
Returns the inner text of an element in the current response stored in the WebTester.
|
static String |
getElementText(String elementXPath)
Deprecated.
|
static String |
getElementText(String elementXPath,
net.sourceforge.jwebunit.junit.WebTester webTester)
Deprecated.
|
boolean |
hasElement()
Deprecated.
Returns true if an element in the current response stored in the WebTester matches the given
xpath, otherwise returns false.
|
static boolean |
hasElement(String elementXPath)
Deprecated.
|
static boolean |
hasElement(String elementXPath,
net.sourceforge.jwebunit.junit.WebTester webTester)
Deprecated.
|
static ResponseXPath |
responseXPath(String elementXPath)
Deprecated.
|
static ResponseXPath |
responseXPath(net.sourceforge.jwebunit.junit.WebTester webTester,
String elementXPath)
Deprecated.
|
@Deprecated public static String getElementAttributeValue(String elementXPath, String attribute)
@Deprecated public static String getElementAttributeValue(String elementXPath, String attribute, net.sourceforge.jwebunit.junit.WebTester webTester)
@Deprecated public static String getElementText(String elementXPath)
@Deprecated public static String getElementText(String elementXPath, net.sourceforge.jwebunit.junit.WebTester webTester)
@Deprecated public static boolean hasElement(String elementXPath)
@Deprecated public static boolean hasElement(String elementXPath, net.sourceforge.jwebunit.junit.WebTester webTester)
public static ResponseXPath responseXPath(String elementXPath)
public static ResponseXPath responseXPath(net.sourceforge.jwebunit.junit.WebTester webTester, String elementXPath)
public boolean hasElement()
public String getElementText()
public String getElementAttributeValue(String attribute)
attribute
- the name of the attribute whose value will be returnedCopyright © 2003–2015 Atlassian. All rights reserved.