Interface ISubCommand<T>
- Type Parameters:
T- the result type of this sub-command.
- All Superinterfaces:
ArgumentInfo
- All Known Implementing Classes:
AbstractSubCommand,GetAlert,GetAllButtons,GetAllFields,GetAllLinks,GetAllWindowNames,GetAllWindowTitles,GetAttribute,GetAttributeFromAllWindows,GetBodyText,GetConfirmation,GetCookie,GetCookieByName,GetCssCount,GetCursorPosition,GetElementHeight,GetElementIndex,GetElementPositionLeft,GetElementPositionTop,GetElementWidth,GetEval,GetExpression,GetHtmlSource,GetLocation,GetNativeAlert,GetPrompt,GetSelected,GetSelectOptions,GetSpeed,GetTable,GetText,GetTitle,GetValue,GetWindowHandle,GetXpathCount,IsAlertPresent,IsChecked,IsConfirmationPresent,IsCookiePresent,IsEditable,IsElementPresent,IsNativeAlertPresent,IsOrdered,IsPromptPresent,IsSomethingSelected,IsTextPresent,IsVisible,MouseEventHandler,NoOp
public interface ISubCommand<T> extends ArgumentInfo
Sub-command interface.
-
Method Summary
Modifier and Type Method Description Texecute(Context context, String... args)Execute sub command.ArgumentType[]getArgumentTypes()Get arguments of this sub-command.StringgetName()Get sub-command name.Methods inherited from interface jp.vmi.selenium.selenese.ArgumentInfo
getArgumentCount
-
Method Details
-
getName
String getName()Get sub-command name.- Returns:
- sub-command name.
-
getArgumentTypes
ArgumentType[] getArgumentTypes()Get arguments of this sub-command.- Returns:
- arguments of thie sub-command.
-
execute
Execute sub command.- Parameters:
context- Selenese Runner context.args- arguments.- Returns:
- sub command result.
-