Package com.almis.awe.testing.selenium
Class ReactAweInstructions
java.lang.Object
com.almis.awe.testing.selenium.ReactAweInstructions
- All Implemented Interfaces:
IAweFrontEndInstructions
,IAweInstructions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.By
containsText
(String clazz, String contains) Get a tag which contains a textorg.openqa.selenium.By
findGridCell
(String gridId, String search) Find a cell containing a textorg.openqa.selenium.By
Get active datepicker selectororg.openqa.selenium.By
Get buttonorg.openqa.selenium.By
getCellFromDatepicker
(String type, String search) Return cell from datepicker (year, month or day)org.openqa.selenium.By
getCheckbox
(String parentSelector) Get checkbox selectororg.openqa.selenium.By
getCheckboxChecked
(String criterionName, boolean isChecked) Get checkbox checked or notorg.openqa.selenium.By
getContextButton
(String buttonId) Get context buttongetCriterionCss
(String criterionName) Retrieve criterion selector in cssorg.openqa.selenium.By
getCriterionInput
(String parentSelector) Retrieve criterion css selectororg.openqa.selenium.By
getDateCriterion
(String parentSelector) Get date criterion selectororg.openqa.selenium.By
Get datepicker selectororg.openqa.selenium.WebDriver
org.openqa.selenium.By
getGridCell
(String gridId, String rowId, String columnId) Get grid cellorg.openqa.selenium.By
getGridCellText
(String gridId, String rowId, String columnId, String search) Get grid cell textorg.openqa.selenium.By
getGridHeader
(String gridId, String columnId) Get grid headerorg.openqa.selenium.By
Get grid loader selectororg.openqa.selenium.By
Get grid save buttonorg.openqa.selenium.By
getGridSaveButton
(String gridId) Get grid save buttonorg.openqa.selenium.By
getGridScrollZone
(String gridId) Retrieve grid scroll zoneorg.openqa.selenium.By
getInfoButton
(String buttonId) Get info buttonorg.openqa.selenium.By
Get loader selectororg.openqa.selenium.By
Get loading barGet menu behaviororg.openqa.selenium.By
Get menu dropdownorg.openqa.selenium.By
getMenuOpenedChildren
(String option) Get opened children in menuorg.openqa.selenium.By
getMenuOption
(String option) Get menu optionorg.openqa.selenium.By
getMessage
(String type) getParentCss
(String gridId, String rowId, String columnId) Retrieve parent selector in cssorg.openqa.selenium.By
Get popover selectorGet row edit behaviororg.openqa.selenium.By
getSelectChoice
(String parentSelector) Get select choice buttonorg.openqa.selenium.By
getSelectChosen
(String criterionName) Get select chosen elementorg.openqa.selenium.By
Get select dropdown listorg.openqa.selenium.By
Get select dropdown list elementsorg.openqa.selenium.By
Get select dropdown list first elementorg.openqa.selenium.By
Get select dropdown list last elementorg.openqa.selenium.By
getSelectLoader
(String parentSelector) Get select loaderorg.openqa.selenium.By
getSelectMultipleTextContainer
(String criterionName) Get select multiple text containerorg.openqa.selenium.By
getSelectResult
(String match) Get select resultorg.openqa.selenium.By
getSuggest
(String parentSelector) Get suggestGet suggest behaviororg.openqa.selenium.By
getSuggestChoice
(String parentSelector) Get suggest choice buttonorg.openqa.selenium.By
getSuggestChosen
(String criterionName) Get suggest chosen elementorg.openqa.selenium.By
Get suggest dropdown listorg.openqa.selenium.By
Get suggest dropdown list last elementorg.openqa.selenium.By
getSuggestInput
(String parentSelector) Get suggest with inputorg.openqa.selenium.By
getSuggestLoader
(String parentSelector) Get suggest loaderorg.openqa.selenium.By
getSuggestMultipleChoiceClose
(String parentSelector) Get suggest multiple choice closeorg.openqa.selenium.By
getSuggestMultipleInput
(String parentSelector) Get suggest multiple inputorg.openqa.selenium.By
getSuggestResult
(String match) Get suggest resultorg.openqa.selenium.By
Get taborg.openqa.selenium.By
Get taborg.openqa.selenium.By
getTabActive
(String tabId, String tabLabel) Get tab activeorg.openqa.selenium.By
getTabMenu
(String tabId) Get tab menuorg.openqa.selenium.By
getTabMenuDropdown
(String tabId) Get tab menu dropdownorg.openqa.selenium.By
getTabMenuDropdownOption
(String tabId, String tabLabel) Get tab menu dropdown optionorg.openqa.selenium.By
getTreeButton
(String gridId, String rowId) Get tree buttonorg.openqa.selenium.By
Get tree button loadersetSeleniumModel
(SeleniumModel seleniumModel)
-
Constructor Details
-
ReactAweInstructions
public ReactAweInstructions()
-
-
Method Details
-
getDriver
public org.openqa.selenium.WebDriver getDriver()- Specified by:
getDriver
in interfaceIAweInstructions
-
setSeleniumModel
- Specified by:
setSeleniumModel
in interfaceIAweInstructions
-
getCriterionCss
Description copied from interface:IAweFrontEndInstructions
Retrieve criterion selector in css- Specified by:
getCriterionCss
in interfaceIAweFrontEndInstructions
- Parameters:
criterionName
- Criterion name- Returns:
- Css parent selector
-
getParentCss
Description copied from interface:IAweFrontEndInstructions
Retrieve parent selector in css- Specified by:
getParentCss
in interfaceIAweFrontEndInstructions
- Parameters:
gridId
- Grid idrowId
- Row idcolumnId
- Column id- Returns:
- Css parent selector
-
getGridScrollZone
Description copied from interface:IAweFrontEndInstructions
Retrieve grid scroll zone- Specified by:
getGridScrollZone
in interfaceIAweFrontEndInstructions
- Parameters:
gridId
- Grid identifier- Returns:
- Scroll zone
-
getCriterionInput
Description copied from interface:IAweFrontEndInstructions
Retrieve criterion css selector- Specified by:
getCriterionInput
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent selector- Returns:
- Criterion input selector
-
getDatepicker
public org.openqa.selenium.By getDatepicker()Description copied from interface:IAweFrontEndInstructions
Get datepicker selector- Specified by:
getDatepicker
in interfaceIAweFrontEndInstructions
- Returns:
- Datepicker selector
-
getDateCriterion
Description copied from interface:IAweFrontEndInstructions
Get date criterion selector- Specified by:
getDateCriterion
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent selector- Returns:
- Date criterion selector
-
getActiveDatepicker
public org.openqa.selenium.By getActiveDatepicker()Description copied from interface:IAweFrontEndInstructions
Get active datepicker selector- Specified by:
getActiveDatepicker
in interfaceIAweFrontEndInstructions
- Returns:
- Active datepicker selector
-
getCellFromDatepicker
Description copied from interface:IAweFrontEndInstructions
Return cell from datepicker (year, month or day)- Specified by:
getCellFromDatepicker
in interfaceIAweFrontEndInstructions
- Parameters:
type
- Datepicker typesearch
- Cell to search- Returns:
- Cell selector
-
getLoaderSelector
public org.openqa.selenium.By getLoaderSelector()Description copied from interface:IAweFrontEndInstructions
Get loader selector- Specified by:
getLoaderSelector
in interfaceIAweFrontEndInstructions
- Returns:
- loader selector
-
getLoadingBar
public org.openqa.selenium.By getLoadingBar()Description copied from interface:IAweFrontEndInstructions
Get loading bar- Specified by:
getLoadingBar
in interfaceIAweFrontEndInstructions
- Returns:
- loading bar selector
-
getGridLoaderSelector
public org.openqa.selenium.By getGridLoaderSelector()Description copied from interface:IAweFrontEndInstructions
Get grid loader selector- Specified by:
getGridLoaderSelector
in interfaceIAweFrontEndInstructions
- Returns:
- grid loader selector
-
getGridHeader
Description copied from interface:IAweFrontEndInstructions
Get grid header- Specified by:
getGridHeader
in interfaceIAweFrontEndInstructions
- Parameters:
gridId
- Grid identifiercolumnId
- Column identifier- Returns:
- Grid header selector
-
getGridCell
Description copied from interface:IAweFrontEndInstructions
Get grid cell- Specified by:
getGridCell
in interfaceIAweFrontEndInstructions
- Parameters:
gridId
- Grid identifierrowId
- Row identifiercolumnId
- Column identifier- Returns:
- Grid cell selector
-
getGridSaveButton
public org.openqa.selenium.By getGridSaveButton()Description copied from interface:IAweFrontEndInstructions
Get grid save button- Specified by:
getGridSaveButton
in interfaceIAweFrontEndInstructions
- Returns:
- Grid save button selector
-
getGridSaveButton
Description copied from interface:IAweFrontEndInstructions
Get grid save button- Specified by:
getGridSaveButton
in interfaceIAweFrontEndInstructions
- Parameters:
gridId
- Grid identifier- Returns:
- Grid save button selector
-
getGridCellText
public org.openqa.selenium.By getGridCellText(String gridId, String rowId, String columnId, String search) Description copied from interface:IAweFrontEndInstructions
Get grid cell text- Specified by:
getGridCellText
in interfaceIAweFrontEndInstructions
- Parameters:
gridId
- Grid identifierrowId
- Row identifiercolumnId
- Column identifiersearch
- Text to search- Returns:
- Grid cell selector
-
findGridCell
Description copied from interface:IAweFrontEndInstructions
Find a cell containing a text- Specified by:
findGridCell
in interfaceIAweFrontEndInstructions
- Parameters:
gridId
- Grid identifiersearch
- Text to search- Returns:
- Grid cell selector
-
getRowEditBehavior
Description copied from interface:IAweFrontEndInstructions
Get row edit behavior- Specified by:
getRowEditBehavior
in interfaceIAweFrontEndInstructions
- Returns:
- Row edit behavior
-
getPopover
public org.openqa.selenium.By getPopover()Description copied from interface:IAweFrontEndInstructions
Get popover selector- Specified by:
getPopover
in interfaceIAweFrontEndInstructions
- Returns:
- Popover selector
-
containsText
Description copied from interface:IAweFrontEndInstructions
Get a tag which contains a text- Specified by:
containsText
in interfaceIAweFrontEndInstructions
- Returns:
- tag which contains text selector
-
getMessage
- Specified by:
getMessage
in interfaceIAweFrontEndInstructions
-
getMenuBehavior
Description copied from interface:IAweFrontEndInstructions
Get menu behavior- Specified by:
getMenuBehavior
in interfaceIAweFrontEndInstructions
- Returns:
- Menu click behavior
-
getMenuOption
Description copied from interface:IAweFrontEndInstructions
Get menu option- Specified by:
getMenuOption
in interfaceIAweFrontEndInstructions
- Parameters:
option
- Option to check- Returns:
- Opened children selector
-
getMenuOpenedChildren
Description copied from interface:IAweFrontEndInstructions
Get opened children in menu- Specified by:
getMenuOpenedChildren
in interfaceIAweFrontEndInstructions
- Parameters:
option
- Option to check- Returns:
- Opened children selector
-
getMenuDropdown
public org.openqa.selenium.By getMenuDropdown()Description copied from interface:IAweFrontEndInstructions
Get menu dropdown- Specified by:
getMenuDropdown
in interfaceIAweFrontEndInstructions
- Returns:
- Menu dropdown selector
-
getButton
Description copied from interface:IAweFrontEndInstructions
Get button- Specified by:
getButton
in interfaceIAweFrontEndInstructions
- Parameters:
buttonId
- Button identifier- Returns:
- Button selector
-
getInfoButton
Description copied from interface:IAweFrontEndInstructions
Get info button- Specified by:
getInfoButton
in interfaceIAweFrontEndInstructions
- Parameters:
buttonId
- Button identifier- Returns:
- Button selector
-
getTreeButton
Description copied from interface:IAweFrontEndInstructions
Get tree button- Specified by:
getTreeButton
in interfaceIAweFrontEndInstructions
- Parameters:
gridId
- Grid identifierrowId
- Row identifier- Returns:
- Button selector
-
getTreeButtonLoader
public org.openqa.selenium.By getTreeButtonLoader()Description copied from interface:IAweFrontEndInstructions
Get tree button loader- Specified by:
getTreeButtonLoader
in interfaceIAweFrontEndInstructions
- Returns:
- Button loader selector
-
getTab
Description copied from interface:IAweFrontEndInstructions
Get tab- Specified by:
getTab
in interfaceIAweFrontEndInstructions
- Parameters:
tabId
- Tab identifier- Returns:
- Tab selector
-
getTab
Description copied from interface:IAweFrontEndInstructions
Get tab- Specified by:
getTab
in interfaceIAweFrontEndInstructions
- Parameters:
tabId
- Tab identifiertabLabel
- Tab label- Returns:
- Tab selector
-
getTabMenu
Description copied from interface:IAweFrontEndInstructions
Get tab menu- Specified by:
getTabMenu
in interfaceIAweFrontEndInstructions
- Parameters:
tabId
- Tab identifier- Returns:
- Tab menu button selector
-
getTabMenuDropdown
Description copied from interface:IAweFrontEndInstructions
Get tab menu dropdown- Specified by:
getTabMenuDropdown
in interfaceIAweFrontEndInstructions
- Parameters:
tabId
- Tab identifier- Returns:
- Tab menu dropdown selector
-
getTabMenuDropdownOption
Description copied from interface:IAweFrontEndInstructions
Get tab menu dropdown option- Specified by:
getTabMenuDropdownOption
in interfaceIAweFrontEndInstructions
- Parameters:
tabId
- Tab identifiertabLabel
- Tab label- Returns:
- Tab menu dropdown option selector
-
getTabActive
Description copied from interface:IAweFrontEndInstructions
Get tab active- Specified by:
getTabActive
in interfaceIAweFrontEndInstructions
- Parameters:
tabId
- Tab identifiertabLabel
- Tab label- Returns:
- Tab selector
-
getContextButton
Description copied from interface:IAweFrontEndInstructions
Get context button- Specified by:
getContextButton
in interfaceIAweFrontEndInstructions
- Parameters:
buttonId
- Button identifier- Returns:
- Button selector
-
getCheckbox
Description copied from interface:IAweFrontEndInstructions
Get checkbox selector- Specified by:
getCheckbox
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent selector- Returns:
- Checkbox selector
-
getCheckboxChecked
Description copied from interface:IAweFrontEndInstructions
Get checkbox checked or not- Specified by:
getCheckboxChecked
in interfaceIAweFrontEndInstructions
- Parameters:
criterionName
- Criterion nameisChecked
- Checked or not- Returns:
- Checkbox checked selector
-
getSelectChoice
Description copied from interface:IAweFrontEndInstructions
Get select choice button- Specified by:
getSelectChoice
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent selector in CSS- Returns:
- Select choice button selector
-
getSelectLoader
Description copied from interface:IAweFrontEndInstructions
Get select loader- Specified by:
getSelectLoader
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent selector in CSS- Returns:
- Select loader selector
-
getSelectDropdownList
public org.openqa.selenium.By getSelectDropdownList()Description copied from interface:IAweFrontEndInstructions
Get select dropdown list- Specified by:
getSelectDropdownList
in interfaceIAweFrontEndInstructions
- Returns:
- Select dropdown list selector
-
getSelectDropdownListElements
public org.openqa.selenium.By getSelectDropdownListElements()Description copied from interface:IAweFrontEndInstructions
Get select dropdown list elements- Specified by:
getSelectDropdownListElements
in interfaceIAweFrontEndInstructions
- Returns:
- Select dropdown list elements selector
-
getSelectDropdownListFirstElement
public org.openqa.selenium.By getSelectDropdownListFirstElement()Description copied from interface:IAweFrontEndInstructions
Get select dropdown list first element- Specified by:
getSelectDropdownListFirstElement
in interfaceIAweFrontEndInstructions
- Returns:
- Select dropdown list first element selector
-
getSelectDropdownListLastElement
public org.openqa.selenium.By getSelectDropdownListLastElement()Description copied from interface:IAweFrontEndInstructions
Get select dropdown list last element- Specified by:
getSelectDropdownListLastElement
in interfaceIAweFrontEndInstructions
- Returns:
- Select dropdown list last element selector
-
getSelectResult
Description copied from interface:IAweFrontEndInstructions
Get select result- Specified by:
getSelectResult
in interfaceIAweFrontEndInstructions
- Parameters:
match
- Result to search- Returns:
- Select result selector
-
getSelectChosen
Description copied from interface:IAweFrontEndInstructions
Get select chosen element- Specified by:
getSelectChosen
in interfaceIAweFrontEndInstructions
- Parameters:
criterionName
- Criterion name- Returns:
- Select chosen element selector
-
getSelectMultipleTextContainer
Description copied from interface:IAweFrontEndInstructions
Get select multiple text container- Specified by:
getSelectMultipleTextContainer
in interfaceIAweFrontEndInstructions
- Parameters:
criterionName
- Criterion name- Returns:
- Select multiple text container
-
getSuggestBehavior
Description copied from interface:IAweFrontEndInstructions
Get suggest behavior- Specified by:
getSuggestBehavior
in interfaceIAweFrontEndInstructions
- Returns:
- Suggest text behavior
-
getSuggestChoice
Description copied from interface:IAweFrontEndInstructions
Get suggest choice button- Specified by:
getSuggestChoice
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent selector in CSS- Returns:
- Suggest choice button selector
-
getSuggestLoader
Description copied from interface:IAweFrontEndInstructions
Get suggest loader- Specified by:
getSuggestLoader
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent selector in CSS- Returns:
- Suggest loader selector
-
getSuggest
Description copied from interface:IAweFrontEndInstructions
Get suggest- Specified by:
getSuggest
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent CSS selector- Returns:
- Suggest selector
-
getSuggestInput
Description copied from interface:IAweFrontEndInstructions
Get suggest with input- Specified by:
getSuggestInput
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent CSS selector- Returns:
- Suggest with input not hidden selector
-
getSuggestResult
Description copied from interface:IAweFrontEndInstructions
Get suggest result- Specified by:
getSuggestResult
in interfaceIAweFrontEndInstructions
- Parameters:
match
- Match result- Returns:
- Suggest result element
-
getSuggestChosen
Description copied from interface:IAweFrontEndInstructions
Get suggest chosen element- Specified by:
getSuggestChosen
in interfaceIAweFrontEndInstructions
- Parameters:
criterionName
- Criterion name- Returns:
- Select chosen element selector
-
getSuggestDropdownList
public org.openqa.selenium.By getSuggestDropdownList()Description copied from interface:IAweFrontEndInstructions
Get suggest dropdown list- Specified by:
getSuggestDropdownList
in interfaceIAweFrontEndInstructions
- Returns:
- Suggest dropdown list selector
-
getSuggestDropdownListLastElement
public org.openqa.selenium.By getSuggestDropdownListLastElement()Description copied from interface:IAweFrontEndInstructions
Get suggest dropdown list last element- Specified by:
getSuggestDropdownListLastElement
in interfaceIAweFrontEndInstructions
- Returns:
- Suggest dropdown list last element selector
-
getSuggestMultipleInput
Description copied from interface:IAweFrontEndInstructions
Get suggest multiple input- Specified by:
getSuggestMultipleInput
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent selector in CSS- Returns:
- Suggest multiple input selector
-
getSuggestMultipleChoiceClose
Description copied from interface:IAweFrontEndInstructions
Get suggest multiple choice close- Specified by:
getSuggestMultipleChoiceClose
in interfaceIAweFrontEndInstructions
- Parameters:
parentSelector
- Parent selector in CSS- Returns:
- Suggest multiple choice close selector
-