| org.jzonic.webtester.commands.WebTestNode
All known Subclasses: org.jzonic.webtester.commands.ReadPropertiesCommand, org.jzonic.webtester.commands.PrintHtmlCommand, org.jzonic.webtester.commands.SetUrlPrefixCommand, org.jzonic.webtester.commands.CheckTitleCommand, org.jzonic.webtester.commands.SelectTableCommand, org.jzonic.webtester.commands.SetParameterCommand, org.jzonic.webtester.commands.CheckOptionCommand, org.jzonic.webtester.commands.EnableJavaScriptCommand, org.jzonic.webtester.commands.ClickLinkCommand, org.jzonic.webtester.commands.CheckTextCommand, org.jzonic.webtester.commands.SelectFormCommand, org.jzonic.webtester.commands.SetOptionCommand, org.jzonic.webtester.commands.GetHtmlCommand, org.jzonic.webtester.commands.SetCheckboxCommand, org.jzonic.webtester.commands.SetTextFieldCommand, org.jzonic.webtester.commands.SubmitFormCommand, org.jzonic.webtester.commands.CheckTableCellCommand, org.jzonic.webtester.commands.SetProxyCommand,
WebTestNode | public interface WebTestNode (Code) | | This interface defines all methods that a test command must implement.
author: Mecky |
Method Summary | |
public WebTestNodeResult | execute(WebTestContext context) This method is called during the run of the testcase. | public String | getName() | public void | setParameter(String value) This method is called from the WebTester to pass over the arguments.
The argument is taken from every line right after the | which marks
the separator between the command and the parameter. |
execute | public WebTestNodeResult execute(WebTestContext context)(Code) | | This method is called during the run of the testcase. It will get the
current WebTestContext passed over and must return a WebTestNodeResult.
If this result is a failure then the entire test will stop and fail.
Parameters: context - the WebTestContext WebTestNodeResult containing the current result of this WebTestNode |
getName | public String getName()(Code) | | Returns the name of the concrete command
the name of the command |
setParameter | public void setParameter(String value)(Code) | | This method is called from the WebTester to pass over the arguments.
The argument is taken from every line right after the | which marks
the separator between the command and the parameter. Every command
is responsible for extracting the parameters it needs out of this
String.
Parameters: value - the String containing all parameters |
|
|