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
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, waitMethods inherited from interface jp.vmi.selenium.selenese.ArgumentInfo
getArgumentCountMethods inherited from interface jp.vmi.selenium.selenese.command.ICommand
extractLocators, getVariableResolvedArguments, isComposite, isNativeAlertHandler
-
Constructor Details
-
StartMarker
Constructor.- Parameters:
command- real command.message- message for log.
-
-
Method Details
-
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
Description copied from interface:ICommandGet command arguments.- Specified by:
getArgumentsin interfaceICommand- Returns:
- command arguments.
-
getName
Description copied from interface:ICommandGet command name. -
convertLocators
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
Description copied from interface:ICommandExecute the command.Note: set the command result to testCase in this method.
-
getResult
Description copied from interface:ICommandGet the command result. -
setBlockStart
Description copied from interface:ICommandSet beginning-of-block command.- Specified by:
setBlockStartin interfaceICommand- Parameters:
blockStart- beginning-of-block command.
-
getBlockStart
Description copied from interface:ICommandGet beginning-of-block command.- Specified by:
getBlockStartin interfaceICommand- Returns:
- beginning-of-block command.
-
setStartLoop
Deprecated.Description copied from interface:ICommandSet beginning-of-loop command.- Specified by:
setStartLoopin interfaceICommand- Parameters:
startLoop- beginning-of-loop command.
-
getStartLoop
Deprecated.Description copied from interface:ICommandGet beginning-of-loop command.- Specified by:
getStartLoopin interfaceICommand- Returns:
- beginning-of-loop command.
-
addScreenshot
Description copied from interface:ICommandAdd screenshot image.- Specified by:
addScreenshotin interfaceICommand- Parameters:
path- image path.label- image label.
-
getScreenshots
Description copied from interface:ICommandGet list of screenshot images.- Specified by:
getScreenshotsin interfaceICommand- Returns:
- list of image path of sreenshot.
-
setSideCommand
Description copied from interface:ICommandSet side command.- Specified by:
setSideCommandin interfaceICommand- Parameters:
sideCommand- SIDE command.
-