|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mactor.extensions.xml.XPathIgnoreNsValueExtractor
public class XPathIgnoreNsValueExtractor
Extracts a selected field from the last received message
The field to
select is specified as a single parameter containing the XPath expression
that selects the single attribute or element
Namespace information in
the evaluated messages is ignored, so the XPath expressions must not include
namespace prefixes
| Constructor Summary | |
|---|---|
XPathIgnoreNsValueExtractor()
|
|
| Method Summary | |
|---|---|
java.lang.String |
extractValue(TestContext context,
java.util.List<java.lang.String> params)
The method invoked by the testrunner to perform the action node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPathIgnoreNsValueExtractor()
| Method Detail |
|---|
public java.lang.String extractValue(TestContext context,
java.util.List<java.lang.String> params)
throws MactorException
ValueCommand
extractValue in interface ValueCommandcontext - contains information about the context of the test that might
be useful (such as all messages sent/received so far in the
test)params - the list of parameteres specifed for the given node in the
test-spec xml (after the ##{...} substitution has been
performed)
MactorException - if some problem occured (this will case the test to fail)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||