public class SAFSActions extends SeleniumPlus
Purpose
This class is used to handle the "safs action command" step definitions for gherkin feature files.
SeleniumPlus.Assert, SeleniumPlus.CheckBox, SeleniumPlus.ComboBox, SeleniumPlus.Component, SeleniumPlus.Counters, SeleniumPlus.EditBox, SeleniumPlus.Files, SeleniumPlus.ListView, SeleniumPlus.Logging, SeleniumPlus.Menu, SeleniumPlus.Misc, SeleniumPlus.Rest, SeleniumPlus.ScrollBar, SeleniumPlus.Strings, SeleniumPlus.TabControl, SeleniumPlus.Tree, SeleniumPlus.WDTimeOut, SeleniumPlus.Window
SAFSPlus.DriverCommand
PRODUCT_DESCRIPTION, PRODUCT_NAME, PRODUCT_VERSION, Runner, TEMP_SELENIUM_PLUS_RS_VAR
_autorun, _autorunClassProvided, _injectDataAwareness, _isInjected, _isSPC, _junit, allowExit, ARG_AUTORUN, ARG_AUTORUN_CLASS, ARG_JUNIT, ARG_SAFSVAR, DefaultRunner, exitCode, normalizeTextForInput, prevResults, RELATIVE_TO_PARENT, RELATIVE_TO_SCREEN, springApplicationContext
Constructor and Description |
---|
SAFSActions() |
Modifier and Type | Method and Description |
---|---|
TestRecordHelper |
runComponentFunction(java.lang.String command,
java.lang.String parent)
Run a SAFS Component Function on a top-level component (Window).
|
TestRecordHelper |
runComponentFunction(java.lang.String command,
java.lang.String parent,
java.util.List<java.lang.String> parameters)
Run a SAFS Component Function on a top-level parent (Window).
|
TestRecordHelper |
runComponentFunction(java.lang.String command,
java.lang.String child,
java.lang.String parent)
Run a SAFS Component Function on a child component in a parent (Window).
|
TestRecordHelper |
runComponentFunction(java.lang.String command,
java.lang.String child,
java.lang.String parent,
java.util.List<java.lang.String> parameters)
Run a SAFS Component Function on a child component in a parent (Window).
|
void |
runTest()
Currently does nothing.
|
AbortTest, AltLeftDrag, Click, ClickUnverified, CtrlAltLeftDrag, CtrlClick, CtrlLeftDrag, CtrlRightClick, CtrlShiftLeftDrag, deduceFilterAreas, DoubleClick, executeAsyncScript, ExecuteScript, executeScript, GetGUIImage, GetGUIImage, getObject, getObject, GetVariableValue, Highlight, HoverScreenLocation, LeftDrag, main, Pause, PrintTestCaseSummary, PrintTestSuiteSummary, RightClick, RightDrag, SetVariableValue, ShiftClick, ShiftLeftDrag, StartTestCase, StartTestSuite, StartWebBrowser, StopTestCase, StopWebBrowser, SwitchWebBrowser, TypeChars, TypeEncryption, TypeKeys, VerifyBinaryFileToFile, VerifyFileToFile, VerifyGUIImageToFile, VerifyTextFileToFile, VerifyValueContains, VerifyValueContainsIgnoreCase, VerifyValueDoesNotContain, VerifyValues, VerifyValuesIgnoreCase, VerifyValuesNotEqual, WaitForGUI, WebDriver
_getMappedValue, _getVariable, _processArgs, _resolveDDVariables, _setVariable, action, actionGUILess, autorun, back, combineParams, command, debug, error, forward, getAllowExit, getExitCode, getRunner, iDriver, normalizeTextForInput, quote, quotePath, replaceSeparator, setAllowExit, setExitCode, setLeveledTest, setNormalizeTextForInput, setRunner, testStatusCode
@Then(value="do safs action {string} on {string}") public TestRecordHelper runComponentFunction(java.lang.String command, java.lang.String parent) throws java.lang.Throwable
Cucumber Expression: "do safs action {string} on {string}"
{string} Matches single-quoted or double-quoted strings, for example "banana split" or 'banana split' (but not banana split).
Example Scenario Step:
command
- The ComponentFunction keyword (action) to performparent
- The ComponentFunction parent window name to act onjava.lang.Throwable
@Then(value="do safs action {string} on {string} in {string}") public TestRecordHelper runComponentFunction(java.lang.String command, java.lang.String child, java.lang.String parent) throws java.lang.Throwable
Cucumber Expression: "do safs action {string} on {string} in {string}"
{string} Matches single-quoted or double-quoted strings, for example "banana split" or 'banana split' (but not banana split).
Example Scenario Step:
command
- The ComponentFunction keyword (action) to performchild
- The ComponentFunction child component name to act onparent
- The ComponentFunction parent window name to act onjava.lang.Throwable
@Then(value="do safs action {string} on {string} using {list}") public TestRecordHelper runComponentFunction(java.lang.String command, java.lang.String parent, java.util.List<java.lang.String> parameters) throws java.lang.Throwable
Cucumber Expression: "do safs action {string} on {string} using {list}
{string} Matches single-quoted or double-quoted strings, for example "banana split" or 'banana split' (but not banana split).
{list} Represents a list of string parameters, the parameters can be delimited by TestRecordData.POSSIBLE_SEPARATOR
.
Example Scenario Step:
command
- The ComponentFunction keyword (action) to performparent
- The ComponentFunction parent window name to act onparameters
- List<String> of parameters used by the command. Can be null.java.lang.Throwable
@Then(value="do safs action {string} on {string} in {string} using {list}") public TestRecordHelper runComponentFunction(java.lang.String command, java.lang.String child, java.lang.String parent, java.util.List<java.lang.String> parameters) throws java.lang.Throwable
Cucumber Expression: "do safs action {string} on {string} in {string} using {list}
{string} Matches single-quoted or double-quoted strings, for example "banana split" or 'banana split' (but not banana split).
{list} Represents a list of string parameters, the parameters can be delimited by TestRecordData.POSSIBLE_SEPARATOR
.
Example Scenario Step:
command
- The ComponentFunction keyword (action) to performchild
- The ComponentFunction child component name to act onparent
- The ComponentFunction parent window name to act onparameters
- List<String> of parameters used by the command. Can be null.java.lang.Throwable
Copyright © SAS Institute. All Rights Reserved.