public class AIComboBoxActions 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 ComboBox |
combobox |
static java.lang.String |
TYPE
"ComboBox"
|
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 |
|---|
AIComboBoxActions() |
| Modifier and Type | Method and Description |
|---|---|
void |
captureitems_in_the_combobox(java.lang.String action,
java.lang.String criteria,
java.util.List<java.lang.String> parameters)
Handle the keyword CaptureItemsToFile of ComboBoxFunctions against the ComboBox matching the provided textlabel.
|
protected java.lang.String |
getType() |
void |
handle_item_in_the_combobox(java.lang.String action,
java.lang.String item,
java.lang.String criteria)
Handle the keyword Select, SelectIndex, SelectPartialMatch, SelectUnverified, SelectUnverifiedPartialMatch, and VerifySelected of ComboBoxFunctions against the ComboBox matching the provided textlabel.
|
protected void |
initComponent(org.openqa.selenium.WebElement we) |
protected void |
localProcess(java.lang.String action,
java.util.List<java.lang.String> parameters)
Handle the ComboBoxFunctions against the ComboBox matching the provided textlabel.
|
void |
settextvalue_in_the_combobox(java.lang.String action,
java.lang.String value,
java.lang.String criteria)
Handle the keyword SetTextValue and SetUnverifiedTextValue of ComboBoxFunctions against the ComboBox matching the provided textlabel.
|
void |
showHide_the_combobox(java.lang.String action,
java.lang.String criteria)
Handle the keyword HideList and ShowList of ComboBoxFunctions against the ComboBox matching the provided textlabel.
|
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 ComboBox combobox
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
localProcess 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="{combobox_action} the {var_mapitem_or_string} combobox")
public void showHide_the_combobox(java.lang.String action,
java.lang.String criteria)
throws SAFSException
Cucumber Expression: "{combobox_action} the {mapitem_or_string} combobox"
{combobox_action} Matches TypeRegistryConfiguration.REGEX_COMBOBOX_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:
action - String, the action HideList and ShowListcriteria - String, the search-conditions helping to find the ComboBoxSAFSException - if target object cannot be found.AIComponent.process(String, String, int, List)@Then(value="{combobox_action} {var_or_string} in the {var_mapitem_or_string} combobox")
public void settextvalue_in_the_combobox(java.lang.String action,
java.lang.String value,
java.lang.String criteria)
throws SAFSException
Cucumber Expression: "{combobox_action} {var_or_string} in the {mapitem_or_string} combobox"
{combobox_action} Matches TypeRegistryConfiguration.REGEX_COMBOBOX_ACTION
{var_or_string} Matches TypeRegistryConfiguration.REGEX_VAR_OR_STRING, represents a variable name (with an optional leading symbol ^) or a double-quoted-string or a single-quoted-string.
{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:
action - String, the action SetTextValue and SetUnverifiedTextValuevalue - String, the value to set into the ComboBoxcriteria - String, the search-conditions helping to find the ComboBoxSAFSException - if target object cannot be found.AIComponent.process(String, String, int, List)@Then(value="{combobox_action} {var_or_string} item in the {var_mapitem_or_string} combobox")
public void handle_item_in_the_combobox(java.lang.String action,
java.lang.String item,
java.lang.String criteria)
throws SAFSException
Cucumber Expression: "{combobox_action} {var_or_string} item in the {mapitem_or_string} combobox"
{combobox_action} Matches TypeRegistryConfiguration.REGEX_COMBOBOX_ACTION
{var_or_string} Matches TypeRegistryConfiguration.REGEX_VAR_OR_STRING, represents a variable name (with an optional leading symbol ^) or a double-quoted-string or a single-quoted-string.
{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:
action - String, the action Select, SelectIndex, SelectPartialMatch, SelectUnverified, SelectUnverifiedPartialMatch, and VerifySelecteditem - String, the item to select/verify in the ComboBoxcriteria - String, the search-conditions helping to find the ComboBoxSAFSException - if target object cannot be found.AIComponent.process(String, String, int, List)@Then(value="{combobox_action} the {var_mapitem_or_string} combobox using {list}")
public void captureitems_in_the_combobox(java.lang.String action,
java.lang.String criteria,
java.util.List<java.lang.String> parameters)
throws SAFSException
Cucumber Expression: "{combobox_action} the {mapitem_or_string} combobox using {list}"
{combobox_action} Matches TypeRegistryConfiguration.REGEX_COMBOBOX_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
{list} Matches TypeRegistryConfiguration.REGEX_LIST, represents a list of string parameters, the parameters can be delimited by TestRecordData.POSSIBLE_SEPARATOR.
Example Scenario Step:
action - String, the action CaptureItemsToFilecriteria - String, the search-conditions helping to find the ComboBoxparameters - ListSAFSException - if target object cannot be found.AIComponent.process(String, String, int, List)Copyright © SAS Institute. All Rights Reserved.