public class AICheckBoxActions extends AIComponent
Criteria.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.DriverCommand| Modifier and Type | Field and Description |
|---|---|
protected CheckBox |
checkbox |
static java.lang.String |
TYPE
"CheckBox"
|
libComponent, MAX_TRY_DEFAULT, maxRetry_abort_on_assert_failure, _abort_on_find_failure, _case_does_not_matter, _log_details, _substring_matches_allowed, _using_cached_component, cachedLibComponents, DEFAULT_SEPLUS_AI_DEFINITIONS, frames, frameTree, GLUE_OPT, searchContextPRODUCT_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 |
|---|
AICheckBoxActions() |
| Modifier and Type | Method and Description |
|---|---|
void |
check_uncheck_the_checkbox(java.lang.String action,
java.lang.String criteria)
Handle the CheckBoxFunctions against the CheckBox matching the provided textlabel.
|
protected java.lang.String |
getType() |
protected void |
initComponent(org.openqa.selenium.WebElement we) |
protected void |
localProcess(java.lang.String action,
java.util.List<java.lang.String> parameters)
Handle the specific keywords against a specific component.
|
checkForCoord, clearHighlight, doSetText, generateCriteria, generateCriteria, getComponentRectangle, highlight, ignoreCache, process, process, process, setTextaddNonRepeatedElements, convertElementArrayToList, deduceBenchFile, deduceDiffFile, deduceProjectFile, deduceTestFile, findElementInParent, findElements, findElementsInParent, findSelectableItemFromText, getCachedLibComponent, getFirstIFrame, getXpathType, initializeFrames, logElementIdInfo, logElementProperties, logListElementsInfo, logMapKeyValues, main, matched, resetFrames, runCukesTest, runCukesTest, runCukesTest, runTest, saveCachedLibComponentAbortTest, AltLeftDrag, Click, ClickUnverified, CtrlAltLeftDrag, CtrlClick, CtrlLeftDrag, CtrlRightClick, CtrlShiftLeftDrag, deduceFilterAreas, DoubleClick, executeAsyncScript, ExecuteScript, executeScript, GetGUIImage, GetGUIImage, getObject, getObject, GetVariableValue, Highlight, HoverScreenLocation, LeftDrag, 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, testStatusCodepublic static final java.lang.String TYPE
protected CheckBox checkbox
protected void initComponent(org.openqa.selenium.WebElement we)
throws SeleniumPlusException
initComponent in class AIComponentSeleniumPlusExceptionprotected java.lang.String getType()
getType in class AIComponentprotected void localProcess(java.lang.String action,
java.util.List<java.lang.String> parameters)
throws SAFSException
AIComponentlocalProcess in class AIComponentaction - String, the action to performparameters - ListSAFSException - if target object cannot be found, or the action is not supported, or any exception has been met.@Then(value="{checkbox_action} the {var_mapitem_or_string} checkbox")
public void check_uncheck_the_checkbox(java.lang.String action,
java.lang.String criteria)
throws SAFSException
Cucumber Expression: "{checkbox_action} the {mapitem_or_string} checkbox"
{checkbox_action} Matches TypeRegistryConfiguration.REGEX_CHECKBOX_ACTION
{var_mapitem_or_string} Matches TypeRegistryConfiguration.REGEX_VAR_MAPITEM_OR_STRING,
represents a variable, or a map item, such as mapID:section.item or a double-quoted-string or a single-quoted-string.
It will be parsed by TypeRegistryConfiguration
Example Scenario Step:
AISearchBase#XPATH_PREFIX)AISearchBase#CSS_PREFIX)action - String, the action to perform on the CheckBoxcriteria - String, the search-conditions helping to find the CheckBoxSAFSException - if target object cannot be found.AIComponent.process(String, String, int, List)Copyright © SAS Institute. All Rights Reserved.