| Constructor and Description |
|---|
StartMarker(ICommand command,
String message)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addScreenshot(String path,
String label)
Add screenshot image.
|
String[] |
convertLocators(String[] args)
Deprecated.
|
Result |
execute(Context context,
String... curArgs)
Execute the command.
|
String[] |
getArguments()
Get command arguments.
|
int |
getIndex()
Get index in selenese script file (1 origin).
|
String |
getName()
Get command name.
|
Result |
getResult()
Get the command result.
|
List<Screenshot> |
getScreenshots()
Get list of screenshot images.
|
String[] |
getSource()
Get source elements.
|
StartLoop |
getStartLoop()
Get beginning-of-loop command.
|
boolean |
mayUpdateScreen()
May the command update screen?
|
void |
setStartLoop(StartLoop startLoop)
Set beginning-of-loop command.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitextractLocatorspublic String[] getSource()
ICommandpublic int getIndex()
ICommandpublic String[] getArguments()
ICommandgetArguments in interface ICommand@Deprecated public String[] convertLocators(String[] args)
ICommandconvertLocators in interface ICommandargs - the command arguments.public boolean mayUpdateScreen()
ICommandmayUpdateScreen in interface ICommandpublic Result execute(Context context, String... curArgs)
ICommandNote: set the command result to testCase in this method.
public Result getResult()
ICommandpublic void setStartLoop(StartLoop startLoop)
ICommandsetStartLoop in interface ICommandstartLoop - beginning-of-loop command.public StartLoop getStartLoop()
ICommandgetStartLoop in interface ICommandpublic void addScreenshot(String path, String label)
ICommandaddScreenshot in interface ICommandpath - image path.label - image label.public List<Screenshot> getScreenshots()
ICommandgetScreenshots in interface ICommandCopyright © 2017. All rights reserved.