Package jp.vmi.selenium.selenese.command
Class StartMarker
- java.lang.Object
-
- jp.vmi.selenium.selenese.command.StartMarker
-
- All Implemented Interfaces:
ArgumentInfo,ICommand
public class StartMarker extends Object implements ICommand
Start marker for result sequence.
-
-
Constructor Summary
Constructors Constructor Description StartMarker(ICommand command, String message)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddScreenshot(String path, String label)Add screenshot image.String[]convertLocators(String[] args)Deprecated.Resultexecute(Context context, String... curArgs)Execute the command.String[]getArguments()Get command arguments.BlockStartgetBlockStart()Get beginning-of-block command.intgetIndex()Get index in selenese script file (1 origin).StringgetName()Get command name.ResultgetResult()Get the command result.List<Screenshot>getScreenshots()Get list of screenshot images.String[]getSource()Get source elements.StartLoopgetStartLoop()Deprecated.booleanmayUpdateScreen()May the command update screen?voidsetBlockStart(BlockStart blockStart)Set beginning-of-block command.voidsetSideCommand(SideCommand sideCommand)Set side command.voidsetStartLoop(StartLoop startLoop)Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jp.vmi.selenium.selenese.ArgumentInfo
getArgumentCount
-
Methods inherited from interface jp.vmi.selenium.selenese.command.ICommand
extractLocators, getVariableResolvedArguments, isNativeAlertHandler
-
-
-
-
Method Detail
-
getSource
public String[] getSource()
Description copied from interface:ICommandGet source elements.
-
getIndex
public int getIndex()
Description copied from interface:ICommandGet index in selenese script file (1 origin).
-
getArguments
public String[] getArguments()
Description copied from interface:ICommandGet command arguments.- Specified by:
getArgumentsin interfaceICommand- Returns:
- command arguments.
-
convertLocators
@Deprecated public String[] convertLocators(String[] args)
Deprecated.Description copied from interface:ICommandConvert locators from arguments.- Specified by:
convertLocatorsin interfaceICommand- Parameters:
args- the command arguments.- Returns:
- converted locators.
-
mayUpdateScreen
public boolean mayUpdateScreen()
Description copied from interface:ICommandMay the command update screen?- Specified by:
mayUpdateScreenin interfaceICommand- Returns:
- true if the command may update screen.
-
execute
public Result execute(Context context, String... curArgs)
Description copied from interface:ICommandExecute the command.Note: set the command result to testCase in this method.
-
getResult
public Result getResult()
Description copied from interface:ICommandGet the command result.
-
setBlockStart
public void setBlockStart(BlockStart blockStart)
Description copied from interface:ICommandSet beginning-of-block command.- Specified by:
setBlockStartin interfaceICommand- Parameters:
blockStart- beginning-of-block command.
-
getBlockStart
public BlockStart getBlockStart()
Description copied from interface:ICommandGet beginning-of-block command.- Specified by:
getBlockStartin interfaceICommand- Returns:
- beginning-of-block command.
-
setStartLoop
@Deprecated public void setStartLoop(StartLoop startLoop)
Deprecated.Description copied from interface:ICommandSet beginning-of-loop command.- Specified by:
setStartLoopin interfaceICommand- Parameters:
startLoop- beginning-of-loop command.
-
getStartLoop
@Deprecated public StartLoop getStartLoop()
Deprecated.Description copied from interface:ICommandGet beginning-of-loop command.- Specified by:
getStartLoopin interfaceICommand- Returns:
- beginning-of-loop command.
-
addScreenshot
public void addScreenshot(String path, String label)
Description copied from interface:ICommandAdd screenshot image.- Specified by:
addScreenshotin interfaceICommand- Parameters:
path- image path.label- image label.
-
getScreenshots
public List<Screenshot> getScreenshots()
Description copied from interface:ICommandGet list of screenshot images.- Specified by:
getScreenshotsin interfaceICommand- Returns:
- list of image path of sreenshot.
-
setSideCommand
public void setSideCommand(SideCommand sideCommand)
Description copied from interface:ICommandSet side command.- Specified by:
setSideCommandin interfaceICommand- Parameters:
sideCommand- SIDE command.
-
-