| Modifier and Type | Method and Description |
|---|---|
CommandList |
RollupRule.getExpandedCommands(Context context,
Map<String,String> rollupArgs) |
CommandList |
IRollupRule.getExpandedCommands(Context context,
Map<String,String> rollupArgs)
Get exapanded command list.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NullContext
Null implementation of Context.
|
class |
Runner
Provide Java API to run Selenese script.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
Eval.eval(Context context,
String script)
Evaluate script including "storedVars" variable.
|
Object |
Eval.eval(Context context,
String script,
String cast)
Evaluate script including "storedVars" variable.
|
Result |
TestSuite.execute(Selenese parent,
Context context) |
Result |
TestCase.execute(Selenese parent,
Context context) |
Result |
Selenese.execute(Selenese parent,
Context context)
Execute script.
|
Result |
ErrorTestSuite.execute(Selenese parent,
Context context) |
Result |
ErrorTestCase.execute(Selenese parent,
Context context) |
Result |
ErrorSource.execute(Selenese parent,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
protected Result |
CommandList.doCommand(Context context,
ICommand command,
String... curArgs) |
protected void |
CommandList.evalCurArgs(Context context,
String[] curArgs) |
Result |
CommandList.execute(Context context,
CommandResultList cresultList)
Execute command list.
|
static Result |
WaitForPageToLoad.execute(Context context,
long timeout)
Wait for page to load.
|
Result |
StartMarker.execute(Context context,
String... curArgs) |
Result |
ICommand.execute(Context context,
String... curArgs)
Execute the command.
|
Result |
AbstractCommand.execute(Context context,
String... curArgs) |
protected Result |
WindowMaximize.executeImpl(Context context,
String... curArgs) |
protected Result |
WindowFocus.executeImpl(Context context,
String... curArgs) |
protected Result |
While.executeImpl(Context context,
String... curArgs) |
protected Result |
WaitForPopUp.executeImpl(Context context,
String... curArgs) |
protected Result |
WaitForPageToLoad.executeImpl(Context context,
String... curArgs) |
protected Result |
WaitForCondition.executeImpl(Context context,
String... curArgs) |
protected Result |
UseXpathLibrary.executeImpl(Context context,
String... curArgs) |
protected Result |
Uncheck.executeImpl(Context context,
String... curArgs) |
protected Result |
TypeKeys.executeImpl(Context context,
String... curArgs) |
protected Result |
Type.executeImpl(Context context,
String... curArgs) |
protected Result |
Submit.executeImpl(Context context,
String... curArgs) |
protected Result |
StoreFor.executeImpl(Context context,
String... curArgs) |
protected Result |
Store.executeImpl(Context context,
String... curArgs) |
protected Result |
ShiftKeyUp.executeImpl(Context context,
String... curArgs) |
protected Result |
ShiftKeyDown.executeImpl(Context context,
String... curArgs) |
protected Result |
SetTimeout.executeImpl(Context context,
String... curArgs) |
protected Result |
SetSpeed.executeImpl(Context context,
String... curArgs) |
protected Result |
SetCursorPosition.executeImpl(Context context,
String... curArgs) |
protected Result |
SelectWindow.executeImpl(Context context,
String... curArgs) |
protected Result |
SelectPopUp.executeImpl(Context context,
String... curArgs) |
protected Result |
SelectFrame.executeImpl(Context context,
String... curArgs) |
protected Result |
Select.executeImpl(Context context,
String... curArgs) |
protected Result |
RunScript.executeImpl(Context context,
String... curArgs) |
protected Result |
Rollup.executeImpl(Context context,
String... curArgs) |
protected Result |
RemoveSelection.executeImpl(Context context,
String... curArgs) |
protected Result |
RemoveAllSelections.executeImpl(Context context,
String... curArgs) |
protected Result |
Refresh.executeImpl(Context context,
String... curArgs) |
protected Result |
Pause.executeImpl(Context context,
String... curArgs) |
protected Result |
OpenWindow.executeImpl(Context context,
String... curArgs) |
protected Result |
Open.executeImpl(Context context,
String... curArgs) |
protected Result |
MetaKeyUp.executeImpl(Context context,
String... curArgs) |
protected Result |
MetaKeyDown.executeImpl(Context context,
String... curArgs) |
protected Result |
Label.executeImpl(Context context,
String... curArgs) |
protected Result |
KeyUp.executeImpl(Context context,
String... curArgs) |
protected Result |
KeyPress.executeImpl(Context context,
String... curArgs) |
protected Result |
KeyDown.executeImpl(Context context,
String... curArgs) |
protected Result |
Include.executeImpl(Context context,
String... curArgs) |
protected Result |
Highlight.executeImpl(Context context,
String... curArgs) |
protected Result |
Gotolabel.executeImpl(Context context,
String... curArgs) |
Result |
GotoIf.executeImpl(Context context,
String... curArgs) |
protected Result |
GoBack.executeImpl(Context context,
String... curArgs) |
protected Result |
Focus.executeImpl(Context context,
String... curArgs) |
protected Result |
FireEvent.executeImpl(Context context,
String... curArgs) |
protected Result |
EndLoopImpl.executeImpl(Context context,
String... curArgs) |
protected Result |
Echo.executeImpl(Context context,
String... curArgs) |
protected Result |
DragAndDropToObject.executeImpl(Context context,
String... curArgs) |
protected Result |
DragAndDrop.executeImpl(Context context,
String... curArgs) |
protected Result |
DoubleClick.executeImpl(Context context,
String... curArgs) |
protected Result |
DeselectPopUp.executeImpl(Context context,
String... curArgs) |
protected Result |
DeleteCookie.executeImpl(Context context,
String... curArgs) |
protected Result |
DeleteAllVisibleCookies.executeImpl(Context context,
String... curArgs) |
protected Result |
CreateCookie.executeImpl(Context context,
String... curArgs) |
protected Result |
ControlKeyUp.executeImpl(Context context,
String... curArgs) |
protected Result |
ControlKeyDown.executeImpl(Context context,
String... curArgs) |
protected Result |
Comment.executeImpl(Context context,
String... curArgs) |
protected Result |
Close.executeImpl(Context context,
String... curArgs) |
protected Result |
ClickAt.executeImpl(Context context,
String... curArgs) |
protected Result |
Click.executeImpl(Context context,
String... curArgs) |
protected Result |
ChooseOkOnNextConfirmation.executeImpl(Context context,
String... curArgs) |
protected Result |
ChooseCancelOnNextConfirmation.executeImpl(Context context,
String... curArgs) |
protected Result |
Check.executeImpl(Context context,
String... curArgs) |
protected Result |
CaptureEntirePageScreenshot.executeImpl(Context context,
String... curArgs) |
protected Result |
BuiltInCommand.executeImpl(Context context,
String... curArgs) |
protected Result |
AttachFile.executeImpl(Context context,
String... curArgs) |
protected Result |
AssignId.executeImpl(Context context,
String... curArgs) |
protected Result |
Assertion.executeImpl(Context context,
String... curArgs) |
protected Result |
AnswerOnNextPrompt.executeImpl(Context context,
String... curArgs) |
protected Result |
AltKeyUp.executeImpl(Context context,
String... curArgs) |
protected Result |
AltKeyDown.executeImpl(Context context,
String... curArgs) |
protected Result |
AllowNativeXpath.executeImpl(Context context,
String... curArgs) |
protected Result |
AddToCollection.executeImpl(Context context,
String... curArgs) |
protected Result |
AddSelection.executeImpl(Context context,
String... curArgs) |
protected Result |
AddLocationStrategy.executeImpl(Context context,
String... curArgs) |
protected Result |
AddCollection.executeImpl(Context context,
String... curArgs) |
protected abstract Result |
AbstractCommand.executeImpl(Context context,
String... curArgs) |
| Constructor and Description |
|---|
CommandFactory(Context context)
Constructor.
|
SelectElement(Context context,
String selectLocator)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Result |
ScreenshotInterceptor.invoke(org.aopalliance.intercept.MethodInvocation invocation,
Context context,
ICommand command,
String[] curArgs) |
protected Result |
MaxTimeInterruptInterceptor.invoke(org.aopalliance.intercept.MethodInvocation invocation,
Context context,
ICommand command,
String[] curArgs) |
protected Result |
HighlightInterceptor.invoke(org.aopalliance.intercept.MethodInvocation invocation,
Context context,
ICommand command,
String[] curArgs) |
protected Result |
CommandLogInterceptor.invoke(org.aopalliance.intercept.MethodInvocation invocation,
Context context,
ICommand command,
String[] curArgs) |
protected abstract Result |
AbstractDoCommandInterceptor.invoke(org.aopalliance.intercept.MethodInvocation invocation,
Context context,
ICommand command,
String[] curArgs) |
protected Result |
ExecuteTestCaseInterceptor.invoke(org.aopalliance.intercept.MethodInvocation invocation,
ITestCase testCase,
Selenese parent,
Context context) |
protected abstract Result |
AbstractExecuteTestCaseInterceptor.invoke(org.aopalliance.intercept.MethodInvocation invocation,
ITestCase testCase,
Selenese parent,
Context context) |
protected Result |
ExecuteTestSuiteInterceptor.invoke(org.aopalliance.intercept.MethodInvocation invocation,
TestSuite testSuite,
Selenese parent,
Context context) |
protected abstract Result |
AbstractExecuteTestSuiteInterceptor.invoke(org.aopalliance.intercept.MethodInvocation invocation,
TestSuite testSuite,
Selenese parent,
Context context) |
| Constructor and Description |
|---|
PageInformation(Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
VariableDeclarationWithDynamicValue.mutate(Context context,
String script,
StringBuilder outputTo) |
void |
VariableDeclaration.mutate(Context context,
String script,
StringBuilder outputTo) |
void |
SeleneseRunnerMutator.mutate(Context context,
String script,
StringBuilder outputTo) |
void |
ScriptMutator.mutate(Context context,
String script,
StringBuilder outputTo)
Mutate a script.
|
void |
FunctionDeclaration.mutate(Context context,
String script,
StringBuilder outputTo) |
| Constructor and Description |
|---|
VariableDeclarationWithDynamicValue(String varName,
Function<Context,String> dynamicValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
NoOp.execute(Context context,
String... curArgs) |
Void |
MouseEventHandler.execute(Context context,
String... args) |
Boolean |
IsVisible.execute(Context context,
String... args) |
T |
ISubCommand.execute(Context context,
String... args)
Execute sub command.
|
Boolean |
IsTextPresent.execute(Context context,
String... args) |
Boolean |
IsSomethingSelected.execute(Context context,
String... args) |
Boolean |
IsPromptPresent.execute(Context context,
String... args) |
Boolean |
IsOrdered.execute(Context context,
String... args) |
Boolean |
IsElementPresent.execute(Context context,
String... args) |
Boolean |
IsEditable.execute(Context context,
String... args) |
Boolean |
IsCookiePresent.execute(Context context,
String... args) |
Boolean |
IsConfirmationPresent.execute(Context context,
String... args) |
Boolean |
IsChecked.execute(Context context,
String... args) |
Boolean |
IsAlertPresent.execute(Context context,
String... args) |
Integer |
GetXpathCount.execute(Context context,
String... args) |
String |
GetValue.execute(Context context,
String... args) |
String |
GetTitle.execute(Context context,
String... args) |
String |
GetText.execute(Context context,
String... args) |
String |
GetTable.execute(Context context,
String... args) |
Number |
GetSpeed.execute(Context context,
String... args) |
String[] |
GetSelectOptions.execute(Context context,
String... args) |
Object |
GetSelected.execute(Context context,
String... args) |
String |
GetPrompt.execute(Context context,
String... args) |
String |
GetLocation.execute(Context context,
String... args) |
String |
GetHtmlSource.execute(Context context,
String... args) |
Object |
GetExpression.execute(Context context,
String... args) |
Object |
GetEval.execute(Context context,
String... args) |
Integer |
GetElementWidth.execute(Context context,
String... args) |
Integer |
GetElementPositionTop.execute(Context context,
String... args) |
Integer |
GetElementPositionLeft.execute(Context context,
String... args) |
Long |
GetElementIndex.execute(Context context,
String... args) |
Integer |
GetElementHeight.execute(Context context,
String... args) |
Long |
GetCursorPosition.execute(Context context,
String... args) |
Number |
GetCssCount.execute(Context context,
String... args) |
String |
GetCookieByName.execute(Context context,
String... args) |
String |
GetCookie.execute(Context context,
String... args) |
String |
GetConfirmation.execute(Context context,
String... args) |
String |
GetBodyText.execute(Context context,
String... args) |
Object[] |
GetAttributeFromAllWindows.execute(Context context,
String... args) |
String |
GetAttribute.execute(Context context,
String... args) |
String[] |
GetAllWindowTitles.execute(Context context,
String... args) |
List<String> |
GetAllWindowNames.execute(Context context,
String... args) |
String[] |
GetAllLinks.execute(Context context,
String... args) |
String[] |
GetAllFields.execute(Context context,
String... args) |
String[] |
GetAllButtons.execute(Context context,
String... args) |
String |
GetAlert.execute(Context context,
String... args) |
| Modifier and Type | Method and Description |
|---|---|
String |
WindowSelector.selectBlankWindow(Context context)
Select blank window.
|
String |
WindowSelector.selectPopUp(Context context,
String windowID) |
String |
WindowSelector.selectPreviousWindow(Context context)
Select window without current selected.
|
String |
WindowSelector.selectWindow(Context context,
String windowID)
Select window.
|
String |
WindowSelector.selectWindowWithTitle(Context context,
String title)
Select window with title.
|
static void |
WindowSelector.waitAfterSelectingWindowIfNeed(Context context)
Wait after selecting a window if the browser is Firefox.
|
Copyright © 2017. All rights reserved.