public class SAFSCommands extends SeleniumPlus
Purpose
This class is used to handle the "safs driver 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.WindowSAFSPlus.DriverCommandPRODUCT_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 |
|---|
SAFSCommands() |
| Modifier and Type | Method and Description |
|---|---|
TestRecordHelper |
runDriverCommand(java.lang.String command)
Run a SAFS Driver Command.
|
TestRecordHelper |
runDriverCommand(java.lang.String command,
java.util.List<java.lang.String> parameters)
Run a SAFS Driver Command.
|
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 command {string}")
public TestRecordHelper runDriverCommand(java.lang.String command)
throws java.lang.Throwable
Cucumber Expression: "do safs command {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 DriverCommand keyword (command) to performjava.lang.Throwable@Then(value="do safs command {string} using {list}")
public TestRecordHelper runDriverCommand(java.lang.String command,
java.util.List<java.lang.String> parameters)
throws java.lang.Throwable
Cucumber Expression: "do safs command {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 DriverCommand keyword (command) to performparameters - List<String> of parameters used by the command. Can be null.java.lang.ThrowableCopyright © SAS Institute. All Rights Reserved.