static File |
UtilityHelper.captureElementPicture(EnhancedBy element) |
Gets a picture of specific element displayed on the page
|
static File |
UtilityHelper.captureElementPicture(EnhancedBy element,
int index) |
Gets a picture of specific element displayed on the page
|
void |
FormHelper.clearAndSetField(EnhancedBy field,
int index,
CharSequence... value) |
clear and sets field
|
void |
FormHelper.clearAndSetField(EnhancedBy field,
CharSequence... value) |
clears and set field
|
static void |
Helper.clearAndSetField(EnhancedBy field,
int index,
CharSequence... value) |
sets field clears field before setting the value
|
static void |
Helper.clearAndSetField(EnhancedBy field,
CharSequence... value) |
sets field clears field before setting the value
|
void |
FormHelper.clearField(EnhancedBy field,
int index) |
use multiple strategies to clear the filed 1.
|
static void |
Helper.clickAndExpect(EnhancedBy target,
int index,
EnhancedBy expected) |
clicks element based on index And waits for expected element to be displayed
|
static void |
Helper.clickAndExpect(EnhancedBy target,
int index,
EnhancedBy expected1,
EnhancedBy expected2) |
clicks target And wait for one the 2 expected elements to appear
|
static void |
Helper.clickAndExpect(EnhancedBy target,
EnhancedBy expected) |
clicks target And waits for expected element to display retries 10 times
|
static void |
Helper.clickAndExpect(EnhancedBy target,
EnhancedBy expected,
boolean isMobileRefresh) |
clicks target And waits for expected element to display retries 10 times
|
static void |
Helper.clickAndExpect(EnhancedBy target,
EnhancedBy expected,
EnhancedBy spinner) |
clicks target And waits for expected element to show up also waits for
spinner element to be removed from display
|
static void |
Helper.clickAndExpect(EnhancedBy target,
String text,
EnhancedBy expected) |
click And expect based on the text value on the element.
|
void |
Helper.clickAndExpectContainsByText(EnhancedBy target,
String text,
EnhancedBy expected) |
click And expect based on the text value on the element.
|
static void |
Helper.clickAndHold(EnhancedBy target,
double seconds) |
click And hold element
|
static void |
Helper.clickAndHold(EnhancedBy target,
int index,
double seconds) |
click And hold based on element index
|
static void |
Helper.clickAndNotExpect(EnhancedBy target,
int index,
EnhancedBy expected) |
|
static void |
Helper.clickAndNotExpect(EnhancedBy target,
EnhancedBy expected) |
clicks target And waits for expected to not be displayed retries 10 times
|
static void |
Helper.clickAndWait(EnhancedBy target,
double timeInSeconds) |
clicks target And waits for seconds
|
static void |
Helper.clickAndWait(EnhancedBy target,
int index,
double timeInSeconds) |
clicks target And waits for seconds
|
static void |
Helper.clickElementContinsByText(EnhancedBy by,
String text) |
click element with text containing
|
static void |
Helper.clickElementLocationBy(EnhancedBy by,
int x,
int y) |
Click on an element's specific x,y location
|
static void |
Helper.clickPointsAndExpect(int x,
int y,
EnhancedBy expected) |
click point at x,y coordinates and expect and element to be present retry
every 5 seconds for duration of explicit timeout
|
static void |
Helper.doubleClick(EnhancedBy target,
int index) |
double click on element
|
static void |
ElementActionHelper.doubleClickBy(EnhancedBy by) |
|
static void |
Helper.doubleClickBy(EnhancedBy by) |
|
static void |
Helper.dragAndDrop(EnhancedBy src,
int xOffset,
int yOffset) |
drag And drop from src element to target element
|
void |
Helper.dragAndDrop(EnhancedBy srcParent,
int srcParentIndex,
EnhancedBy srcChild,
int scrChildIndex,
EnhancedBy targetParent,
int targeParenttIndex,
EnhancedBy targetChild,
int targetChildIndex) |
drag And drop from src element to target element
|
static void |
Helper.dragAndDrop(EnhancedBy src,
EnhancedBy target) |
drag And drop from src element to target element
|
static int[] |
Helper.findElementCoordinates(EnhancedBy target) |
returns the center coordinates of the target element
|
protected static EnhancedWebElement |
Element.findElements(EnhancedBy element) |
finds list of elements
|
protected static EnhancedWebElement |
Element.findElements(EnhancedBy parent,
int parentIndex,
EnhancedBy child) |
finds a list of elements based on parent element
|
protected static EnhancedWebElement |
Element.findElements(EnhancedBy parent,
EnhancedBy child) |
|
protected static EnhancedWebElement |
Helper.findElements(EnhancedBy element) |
finds list of elements
|
protected static EnhancedWebElement |
Helper.findElements(EnhancedBy parent,
int parentIndex,
EnhancedBy child) |
finds a list of elements based on parent element
|
protected static EnhancedWebElement |
Helper.findElements(EnhancedBy parent,
EnhancedBy child) |
finds element based on parent element
|
static int[] |
ElementHelper.findMiddleOfElement(EnhancedBy target) |
returns the center coordinates of the target element
|
static int[] |
Helper.findMiddleOfElement(EnhancedBy target) |
returns the center coordinates of the target element
|
void |
FormHelper.formSubmit(EnhancedBy button,
EnhancedBy expected) |
select submit button and wait for expected element to load
|
void |
FormHelper.formSubmit(EnhancedBy button,
EnhancedBy expected,
EnhancedBy spinner) |
clicks submit button, wait for element to appear And loading spinner to be
removed
|
static void |
Helper.formSubmit(EnhancedBy button,
EnhancedBy expected) |
select submit button And wait for expected element to load
|
static void |
Helper.formSubmit(EnhancedBy button,
EnhancedBy expected,
EnhancedBy spinner) |
clicks submit button, wait for element to appear And loading spinner to be
removed
|
void |
FormHelper.formSubmitNoRetry(EnhancedBy button,
int index,
EnhancedBy expected) |
submit form with retrying selecting the element
|
void |
FormHelper.formSubmitNoRetry(EnhancedBy button,
EnhancedBy expected) |
submit form with retrying selecting the element
|
static String |
ElementHelper.getAttribute(EnhancedBy byValue,
int index,
String attribute) |
gets specified attribute of the element based on index
|
static String |
ElementHelper.getAttribute(EnhancedBy byValue,
String attribute) |
gets specified attribute of the element
|
static String |
Helper.getAttribute(EnhancedBy byValue,
int index,
String attribute) |
gets specified attribute of the element based on index
|
static String |
Helper.getAttribute(EnhancedBy byValue,
String attribute) |
gets specified attribute of the element
|
static int |
Helper.getElementIndexContainByText(EnhancedBy listValue,
String option) |
retuns index of element in list which contains in text
|
int |
ListHelper.getElementIndexContainByText(EnhancedBy list,
String option) |
returns index of element in list which contains in text
|
static int |
Helper.getElementIndexEqualsByText(EnhancedBy listValue,
String option) |
returns the index of text value in a list
|
int |
ListHelper.getElementIndexEqualsByText(EnhancedBy list,
String option) |
returns the index of text value in a list normalizes the list option When
comparing using Helper.stringNormalize() returns first visible element index
|
static int |
Helper.getElementIndexInList(EnhancedBy srcList,
EnhancedBy target) |
find the index of the target element in list eg.
|
int |
ListHelper.getElementIndexInList(EnhancedBy list,
EnhancedBy target) |
find the index of the target element in list eg.
|
static org.openqa.selenium.Point |
ElementHelper.getElementPosition(EnhancedBy by) |
get element position on display
|
static org.openqa.selenium.Point |
ElementHelper.getElementPosition(EnhancedBy by,
int index) |
get element position on display
|
static org.openqa.selenium.Point |
Helper.getElementPosition(EnhancedBy by) |
get element position on display
|
static org.openqa.selenium.Point |
Helper.getElementPosition(EnhancedBy by,
int index) |
get element position on display
|
static org.openqa.selenium.Dimension |
ElementHelper.getElementSize(EnhancedBy by) |
returns element dimension
|
static org.openqa.selenium.Dimension |
Helper.getElementSize(EnhancedBy by) |
returns element dimension
|
static int |
Helper.getListCount(EnhancedBy listValue) |
returns the number of elements in list
|
int |
ListHelper.getListCount(EnhancedBy list) |
returns the number of elements in list
|
static List<String> |
Helper.getListValues(EnhancedBy listValue) |
returns the list of values in a list
|
List<String> |
ListHelper.getListValues(EnhancedBy list) |
returns the list of values in a list
|
List<String> |
Helper.getRowValuesFromList(EnhancedBy srclist,
int index,
EnhancedBy rows) |
returns the list of string values for a row of elements
|
List<String> |
ListHelper.getRowValuesFromList(EnhancedBy list,
int index,
EnhancedBy cells) |
returns the list of string values for a row of elements
|
int |
ListHelper.getStringIndexContainByText(EnhancedBy list,
List<String> stringList,
String option) |
returns the index of string value in list of strings
|
int |
ListHelper.getStringIndexEqualsByText(EnhancedBy list,
List<String> stringList,
String option) |
returns the index of string value in list of strings
|
HashMap<String,List<String>> |
Helper.getTableMap(EnhancedBy columns,
int columnInitialIndex,
EnhancedBy dataRows,
int rowInitialIndex,
EnhancedBy dataCells,
int maxRows) |
gets hashmap representation of data column with row values
|
HashMap<String,List<String>> |
Helper.getTableMap(EnhancedBy columns,
EnhancedBy dataRows,
EnhancedBy dataCells) |
gets hashmap representation of data column with row values
|
HashMap<String,List<String>> |
Helper.getTableMap(EnhancedBy columns,
EnhancedBy dataRows,
EnhancedBy dataCells,
int maxRows) |
gets hashmap representation of data column with row values
|
HashMap<String,List<String>> |
ListHelper.getTableMap(EnhancedBy columns,
int columnInitialIndex,
EnhancedBy dataRows,
int rowInitialIndex,
EnhancedBy dataCells,
int maxRows) |
gets hashmap representation of data column with row values
|
HashMap<String,List<String>> |
ListHelper.getTableMap(EnhancedBy columns,
EnhancedBy dataRows,
EnhancedBy dataCells) |
gets hashmap representation of data column with row values
|
HashMap<String,List<String>> |
ListHelper.getTableMap(EnhancedBy columns,
EnhancedBy dataRows,
EnhancedBy dataCells,
int maxRows) |
gets hashmap representation of data column with row values
|
HashMap<Integer,List<String>> |
ListHelper.getTableRowValues(EnhancedBy dataRows,
EnhancedBy dataCells) |
gets hashmap of table rows map will return row index and row values as
arraylist
|
HashMap<Integer,List<String>> |
ListHelper.getTableRowValues(EnhancedBy dataRows,
EnhancedBy dataCells,
int maxRows) |
gets hashmap of table rows map will return row index and row values as
arraylist
|
String |
ImageProcessingHelper.getTextFromElementImage(EnhancedBy element) |
get text from image element screenshot take of the element, Then Tesseract is
used to grab the string from the image image path base from resource folder
using Tesseract library
|
static List<String> |
Helper.getTextList(EnhancedBy listValue) |
returns the list of values in a list
|
List<String> |
ListHelper.getTextList(EnhancedBy list) |
get list of text values
|
String |
FormHelper.getTextValue(EnhancedBy element) |
gets the text value from an element
|
String |
FormHelper.getTextValue(EnhancedBy element,
int index) |
gets the text value from an element
|
static String |
Helper.getTextValue(EnhancedBy element) |
gets the text value from an element
|
static String |
Helper.getTextValue(EnhancedBy element,
int index) |
gets the text value from an element
|
int |
ListHelper.getVisibleElementIndex(EnhancedBy list,
List<Integer> indexValues) |
|
static void |
Helper.highLightWebElement(EnhancedBy by,
int index) |
highlights the web element use on clicks and send key elements
|
static void |
UtilityHelper.highLightWebElement(EnhancedBy by,
int index) |
highlights the web element use on clicks and send key elements applicable to
web driver
|
static void |
ElementActionHelper.hoverBy(EnhancedBy by,
int index) |
hover over element
|
static void |
Helper.hoverBy(EnhancedBy by) |
hover over element
|
static void |
Helper.hoverBy(EnhancedBy by,
int index) |
hover over element
|
static void |
ElementActionHelper.inputTextByAction(EnhancedBy by,
String text) |
|
void |
Helper.inputTextByAction(EnhancedBy by,
String text) |
|
static boolean |
ElementHelper.isAttributeContaining(EnhancedBy by,
String attribute,
String value) |
returns true if element contains class value
|
static boolean |
Helper.isAttributeContaining(EnhancedBy by,
String attribute,
String value) |
returns true if element contains attribute value
|
static boolean |
Helper.isContainedInList(EnhancedBy listValue,
String option) |
return if element is contained in list
|
boolean |
ListHelper.isContainedInList(EnhancedBy list,
String option) |
return if element is contained in list
|
boolean |
VerifyHelper.isContainedInList(EnhancedBy list,
String option) |
return if element is contained in list
|
static boolean |
Helper.isDisplayed(EnhancedBy element) |
returns true if element is displayed
|
static boolean |
ElementHelper.isElementContainingClass(EnhancedBy by,
String value) |
|
static boolean |
Helper.isElementContainingClass(EnhancedBy by,
String classValue) |
returns true if element contains class value
|
static boolean |
Helper.isElementContainingText(EnhancedBy element,
String text) |
returns true if element contains text
|
boolean |
VerifyHelper.isElementContainingText(EnhancedBy element,
String text) |
returns true if element contains text
|
boolean |
FormHelper.isElementEditable(EnhancedBy element) |
attempts to set text value on element, if not successful, then element is not editable
|
boolean |
FormHelper.isElementEditable(EnhancedBy element,
int index) |
attempts to set text value on element, if not successful, then element is not editable
|
boolean |
Helper.isElementEditable(EnhancedBy element) |
attempts to set text value on element, if not successful, then element is not editable
|
boolean |
Helper.isElementEditable(EnhancedBy element,
int index) |
attempts to set text value on element, if not successful, then element is not editable
|
boolean |
VerifyHelper.isElementHasExactText(EnhancedBy element,
int index,
String text) |
returns true if element has exact text value
|
boolean |
VerifyHelper.isElementInList(EnhancedBy list,
EnhancedBy target) |
return true if element is in list of elements.
|
boolean |
VerifyHelper.isElementInList(EnhancedBy list,
String option,
EnhancedBy target) |
return true if element is in list of elements.
|
static boolean |
Helper.isExactMatchInList(EnhancedBy listValue,
String option) |
return if element is an exact match in list
|
boolean |
ListHelper.isExactMatchInList(EnhancedBy list,
String option) |
return if element is an exact match in list
|
boolean |
VerifyHelper.isExactMatchInList(EnhancedBy list,
String option) |
return if element is an exact match in list
|
static boolean |
Helper.isPresent(EnhancedBy element) |
returns true if element is displayed
|
boolean |
VerifyHelper.isPresent(EnhancedBy element) |
returns true if element is displayed
|
static Boolean |
Helper.isVisibleInViewport(EnhancedBy by) |
returns true if the element is visible in the current page only for web
applications
|
static Boolean |
Helper.isVisibleInViewport(EnhancedBy by,
int index) |
returns true if the element is visible in the current page only for web
applications
|
Boolean |
PageHelper.isVisibleInViewport(EnhancedBy by) |
returns true if the element is visible in the current page only for web
applications
|
Boolean |
PageHelper.isVisibleInViewport(EnhancedBy by,
int index) |
returns true if the element is visible in the current page only for web
applications
|
void |
MobileHelper.longPress(EnhancedBy target,
long miliSeconds) |
TODO: enhance to become longpress And expect presses the target element
|
static void |
Helper.mobile_longPress(EnhancedBy target,
long miliSeconds) |
press per retry presses the target element
|
void |
MobileHelper.mobile_longPress(EnhancedBy target,
long miliSeconds) |
|
static void |
Helper.mobile_longPressAndExpect(EnhancedBy target,
long miliSeconds,
EnhancedBy expected) |
long press And expect element
|
void |
MobileHelper.mobile_longPressAndExpect(EnhancedBy target,
long miliSeconds,
EnhancedBy expected) |
long press And expect element
|
static void |
Helper.mobile_scrollToElement(EnhancedBy target) |
scrolls to mobile element until element is becomes visible
|
void |
MobileHelper.mobile_scrollToElement(EnhancedBy target) |
scrolls to mobile element until element becomes visible
|
void |
MobileHelper.mobile_scrollToElementWithRefresh(EnhancedBy target) |
|
void |
Helper.mobile_swipeDown(EnhancedBy element,
int index,
double durationInSeconds) |
swipe down on the screen based on element position
|
void |
MobileHelper.mobile_swipeDown(EnhancedBy element,
int index,
double durationInSeconds) |
swipe down on the screen
|
void |
Helper.mobile_swipeLeft(EnhancedBy element,
int index,
double durationInSeconds) |
swipe left on the screen based on element position
|
void |
MobileHelper.mobile_swipeLeft(EnhancedBy element,
int index,
double durationInSeconds) |
swipe left on the screen
|
void |
Helper.mobile_swipeRight(EnhancedBy element,
int index,
double durationInSeconds) |
swipe right on the screen based on element position
|
void |
MobileHelper.mobile_swipeRight(EnhancedBy element,
int index,
double durationInSeconds) |
swipe right on the screen
|
void |
Helper.mobile_swipeUp(EnhancedBy element,
int index,
double durationInSeconds) |
swipe up on the screen based on element position
|
void |
MobileHelper.mobile_swipeUp(EnhancedBy element,
int index,
double durationInSeconds) |
swipe up on the screen
|
static void |
Helper.mobile_waitAndRefreshForElementToLoad(EnhancedBy target) |
waits for element to load And refreshes the app each time to renew the dom
|
static void |
Helper.mobile_waitAndRefreshForElementToLoad(EnhancedBy target,
int time) |
waits for element to load And refreshes the app each time to renew the dom
|
void |
WaitHelper.mobile_waitAndRefreshForElementToLoad(EnhancedBy target) |
waits for element to load And refreshes the app each time to renew the dom
|
void |
WaitHelper.mobile_waitAndRefreshForElementToLoad(EnhancedBy target,
int time) |
waits for element to load And refreshes the app each time to renew the dom
|
static void |
Helper.mobile_zoomIn(EnhancedBy indicator) |
zooms in And checks if target level indicator has been reached
|
void |
MobileHelper.mobile_zoomIn(EnhancedBy indicator) |
zooms in And checks if target level indicator has been reached
|
static void |
Helper.mobile_zoomOut(EnhancedBy indicator) |
zooms out And checks if target level indicator has been reached
|
void |
MobileHelper.mobile_zoomOut(EnhancedBy indicator) |
zooms out And checks if target level indicator has been reached
|
static void |
ElementActionHelper.moveToElement(EnhancedBy target,
int index) |
move to element by using action
|
static void |
ElementActionHelper.moveToElement(EnhancedBy target,
int index,
int xOffset,
int yOffset) |
move to element by using action
|
static void |
Helper.moveToElement(EnhancedBy target,
int index) |
move to element by using action
|
static void |
Helper.moveToElement(EnhancedBy target,
int index,
int xOffset,
int yOffset) |
move to element by using action
|
void |
FormHelper.pressEnterOnWeb(EnhancedBy field) |
|
static void |
Helper.rightClick(EnhancedBy target,
int index) |
right click on element at index
|
static void |
Helper.scrollToWebElement(EnhancedBy element) |
scroll to web element
|
static void |
Helper.scrollToWebElement(EnhancedBy element,
int index) |
scroll to element
|
void |
PageHelper.scrollToWebElement(EnhancedBy element) |
scroll to web element
|
void |
PageHelper.scrollToWebElement(EnhancedBy element,
int index) |
scroll to element
|
static void |
Helper.searchAndWaitForResults(String searchQuery,
EnhancedBy byTarget,
EnhancedBy spinner) |
enters value into the search field And selects enter waits for the loading
spinner to be removed
|
void |
ListHelper.searchAndWaitForResults(String searchQuery,
EnhancedBy byTarget,
EnhancedBy spinner) |
enters value into the search field And selects enter waits for the loading
spinner to be removed
|
void |
FormHelper.selectCheckBox(EnhancedBy button,
boolean isSelect) |
selects checkbox based on by value
|
static void |
Helper.selectCheckBox(EnhancedBy button,
boolean isSelect) |
selects checkbox based on by value
|
void |
FormHelper.selectDropDown(int index,
EnhancedBy field,
EnhancedBy list) |
select drop down by index from the drop down list
|
void |
FormHelper.selectDropDown(EnhancedBy field,
int index) |
selects drop down
|
void |
FormHelper.selectDropDown(EnhancedBy field,
int index,
EnhancedBy list,
int optionIndex) |
select drop down field based on index select option field based on index
|
void |
FormHelper.selectDropDown(EnhancedBy field,
int index,
EnhancedBy list,
String text) |
select drop down field based on index select option field based on text
|
void |
FormHelper.selectDropDown(EnhancedBy field,
EnhancedBy list) |
select drop down by index from the drop down list
|
void |
FormHelper.selectDropDown(EnhancedBy field,
EnhancedBy list,
String... options) |
selects drop down
|
void |
FormHelper.selectDropDown(EnhancedBy field,
String... options) |
selects drop down
|
void |
FormHelper.selectDropDown(String option,
EnhancedBy field,
int index,
EnhancedBy list) |
selects drop down based on index of the drop down field
|
void |
FormHelper.selectDropDown(String option,
EnhancedBy field,
int index,
EnhancedBy list,
int listIndex) |
select drop down based on index of the drop down list eg.
|
void |
FormHelper.selectDropDown(String option,
EnhancedBy field,
EnhancedBy list) |
Deprecated.
|
void |
FormHelper.selectDropDown(String option,
EnhancedBy field,
EnhancedBy list,
int listIndex) |
select drop down based on index of the drop down list eg.
|
void |
FormHelper.selectDropDown(String option,
EnhancedBy field,
String field_Identifier,
EnhancedBy list) |
selects drop down from list defined by another list defined by text
|
static void |
Helper.selectDropDown(int index,
EnhancedBy field,
EnhancedBy listValue) |
select drop down by index from the drop down list
|
static void |
Helper.selectDropDown(EnhancedBy field,
EnhancedBy item) |
select drop down using by value of the list item
|
static void |
Helper.selectDropDown(EnhancedBy field,
EnhancedBy list,
String... options) |
selects drop down
|
static void |
Helper.selectDropDown(EnhancedBy field,
String... options) |
selects drop down
|
static void |
Helper.selectDropDown(String option,
EnhancedBy field,
int index,
EnhancedBy listValue) |
selects drop down based on index of the drop down field
|
static void |
Helper.selectDropDown(String option,
EnhancedBy field,
int index,
EnhancedBy list,
int listIndex) |
select drop down based on index of the drop down list eg.
|
static void |
Helper.selectDropDown(String option,
EnhancedBy field,
EnhancedBy listValue) |
Deprecated.
|
static void |
Helper.selectDropDown(String option,
EnhancedBy field,
EnhancedBy listValue,
int listIndex) |
select drop down based on index of the drop down list eg.
|
static void |
Helper.selectDropDown(String option,
EnhancedBy field,
String field_Identifier,
EnhancedBy listValue) |
selects drop down from list defined by another list defined by text
|
void |
FormHelper.selectDropDownWithDoubleClick(String option,
EnhancedBy field,
int index,
EnhancedBy list) |
selects dropdown by double clicking on the field
|
void |
FormHelper.selectDropDownWithDoubleClick(String option,
EnhancedBy field,
EnhancedBy list) |
selects dropdown by double clicking on the field
|
static void |
Helper.selectDropDownWithDoubleClick(String option,
EnhancedBy field,
int index,
EnhancedBy listValue) |
selects dropdown by double clicking on the field
|
static void |
Helper.selectDropDownWithDoubleClick(String option,
EnhancedBy field,
EnhancedBy listValue) |
selects dropdown by double clicking on the field
|
static void |
Helper.selectElementContainedInList(EnhancedBy listValue,
String option,
EnhancedBy target) |
Selects list item from a parent container eg.
|
static void |
Helper.selectElementContainedInList(EnhancedBy listValue,
String option,
EnhancedBy target,
int targetIndex) |
Selects list item from a parent container eg.
|
void |
ListHelper.selectElementContainedInList(EnhancedBy list,
String option,
EnhancedBy target) |
Selects list item from a parent container eg.
|
void |
ListHelper.selectElementContainedInList(EnhancedBy list,
String option,
EnhancedBy target,
int targetIndex) |
Selects list item from a parent container eg.
|
static void |
Helper.selectElementInList(EnhancedBy listValue,
int index) |
selects an element in list by its index value
|
static void |
Helper.selectElementInList(EnhancedBy listValue,
int index,
EnhancedBy expected) |
selects an element in list by its index value And waits for expected element
|
void |
ListHelper.selectElementInList(EnhancedBy list,
int index) |
selects an element in list by its index value
|
void |
ListHelper.selectElementInList(EnhancedBy list,
int index,
EnhancedBy expected) |
selects an element in list by its index value And waits for expected element
|
static void |
Helper.selectListItemByIndex(EnhancedBy listValue,
int index) |
selects list item by the string option provided
|
void |
ListHelper.selectListItemByIndex(EnhancedBy list,
int index) |
selects list item by the string option provided
|
static void |
Helper.selectListItemContainsByName(EnhancedBy listValue,
String option) |
finds target element which is in the same container And has the same index as
the parent eg.
|
static void |
Helper.selectListItemContainsByName(EnhancedBy listValue,
String option,
EnhancedBy target) |
selects list item containing string eg.
|
void |
ListHelper.selectListItemContainsByName(EnhancedBy list,
String option) |
finds target element which is in the same container And has the same index as
the parent eg.
|
void |
ListHelper.selectListItemContainsByName(EnhancedBy list,
String option,
EnhancedBy target) |
selects list item containing string eg.
|
static void |
Helper.selectListItemEqualsByName(EnhancedBy listValue,
String option) |
selects list item by the string option provided
|
static void |
Helper.selectListItemEqualsByName(EnhancedBy listValue,
String option,
EnhancedBy target) |
finds target element which is in the same container And has the same index as
the parent eg.
|
void |
ListHelper.selectListItemEqualsByName(EnhancedBy list,
String option) |
selects list item by the string option provided
|
void |
ListHelper.selectListItemEqualsByName(EnhancedBy list,
String option,
EnhancedBy target) |
finds target element which is in the same container And has the same index as
the parent eg.
|
void |
FormHelper.selectMultipleCheckboxOptions(List<String> selections,
EnhancedBy checkboxes) |
selects multiple checkbox options
|
static void |
Helper.selectMultipleCheckboxOptions(List<String> selections,
EnhancedBy checkboxes) |
selects multiple checkbox options
|
void |
FormHelper.selectRadioButton(EnhancedBy button) |
selects a button
|
void |
FormHelper.selectRadioButton(String option,
EnhancedBy buttons) |
selects radio button by radio button description
|
static void |
Helper.selectRadioButton(EnhancedBy button) |
selects a button
|
static void |
Helper.selectRadioButton(String option,
EnhancedBy buttons) |
selects radio button by radio button description
|
void |
FormHelper.selectToggle(EnhancedBy on,
EnhancedBy off,
boolean isOn) |
select toggle button, on or off
|
static void |
ElementHelper.setAttribute(EnhancedBy by,
int index,
String attribute,
String value) |
sets attribute value of an element
|
static void |
ElementHelper.setAttribute(EnhancedBy by,
String attribute,
String value) |
sets attribute value of an element
|
static void |
Helper.setAttribute(EnhancedBy by,
int index,
String attribute,
String value) |
sets attribute value of an element
|
static void |
Helper.setAttribute(EnhancedBy by,
String attribute,
String value) |
sets attribute value of an element
|
static void |
Helper.setChildField(EnhancedBy parent,
int parentIndex,
EnhancedBy child,
int childIndex,
CharSequence... value) |
sets key based on nested text field
|
void |
FormHelper.setField(EnhancedBy field,
int index,
CharSequence... value) |
sets and clears field before setting the value
|
void |
FormHelper.setField(EnhancedBy field,
CharSequence... value) |
sets field clears field before setting the value
|
void |
FormHelper.setField(String value,
EnhancedBy field,
int index) |
sets field text value by index hides keyboard if on ios device
|
static void |
Helper.setField(EnhancedBy field,
CharSequence... value) |
set field value if value is not empty
|
static void |
Helper.setField(String value,
EnhancedBy field,
int index) |
sets field text value by index hides keyboard if on ios device
|
void |
FormHelper.setFieldAndEnter(EnhancedBy field,
CharSequence... value) |
sets field And presses the enter key
|
static void |
Helper.setFieldAndEnter(EnhancedBy field,
CharSequence... value) |
sets field And presses the enter key
|
void |
FormHelper.setFieldByAction(EnhancedBy field,
int index,
CharSequence... value) |
sets and clears field before setting the value by actions
|
void |
FormHelper.setFieldByAction(EnhancedBy field,
CharSequence... value) |
sets and clears field before setting the value by actions
|
static void |
Helper.setFieldByAction(EnhancedBy field,
int index,
CharSequence... value) |
|
static void |
Helper.setFieldByAction(EnhancedBy field,
CharSequence... value) |
|
void |
FormHelper.setFieldByJs(EnhancedBy field,
int index,
CharSequence... value) |
set field through javascript
|
void |
FormHelper.setFieldByJs(EnhancedBy field,
CharSequence... value) |
set field through javascript
|
static void |
Helper.setFieldByJs(EnhancedBy field,
int index,
CharSequence... value) |
|
static void |
Helper.setFieldByJs(EnhancedBy field,
CharSequence... value) |
|
void |
FormHelper.setKey(org.openqa.selenium.Keys key,
EnhancedBy field) |
send
|
static void |
Helper.setKey(org.openqa.selenium.Keys key,
EnhancedBy field) |
send
|
void |
FormHelper.setKeyChildField(EnhancedBy parent,
int parentIndex,
EnhancedBy child,
int childIndex,
CharSequence... value) |
sets key based on nested text field
|
void |
MobileHelper.smartHideKeyboard(EnhancedBy element) |
if element is not visible, attempt to hide keyboard
|
static void |
Helper.switchIframe(EnhancedBy frame) |
switches frame to frame specified
|
void |
PageHelper.switchIframe(EnhancedBy frame) |
switches frame to frame specified
|
protected static void |
FileUploadHelper.uploadAndAcceptFile(String location,
EnhancedBy fileButton,
EnhancedBy accept) |
|
protected static void |
FileUploadHelper.uploadFile(String location,
EnhancedBy fileButton) |
uploads file by specifying file location relative to main path
|
void |
FormHelper.uploadFile(String location,
EnhancedBy fileTypeElement) |
uploads file by specifying file location relative to main path
|
static void |
Helper.uploadFile(String location,
EnhancedBy imageButton) |
uploads file by specifying file location relative to main path
|
protected static void |
FileUploadHelper.uploadImage(String location,
EnhancedBy imageButton,
EnhancedBy images) |
sets the image based on location
|
void |
FormHelper.uploadImage(String location,
EnhancedBy imageButton,
EnhancedBy images) |
sets the image based on image path
|
static void |
Helper.uploadImage(String location,
EnhancedBy imageButton,
EnhancedBy images) |
sets the image based on location
|
protected static void |
FileUploadHelper.uploadImages(List<String> locations,
EnhancedBy imageButton,
EnhancedBy images) |
|
void |
FormHelper.uploadImages(List<String> locations,
EnhancedBy imageButton,
EnhancedBy images) |
* sets the image based on list of image path
|
static void |
Helper.uploadImages(List<String> locations,
EnhancedBy imageButton,
EnhancedBy images) |
sets the image based on location
|
static void |
Helper.verifyAnyText(EnhancedBy target,
String... values) |
verifies if text contains any of values in list
|
void |
VerifyHelper.verifyAnyText(EnhancedBy target,
String... values) |
verifies if text contains any of values in list
|
static void |
Helper.verifyAnyTextContaining(EnhancedBy target,
String... values) |
verifies if text contains any of values in list
|
void |
VerifyHelper.verifyAnyTextContaining(EnhancedBy target,
String... values) |
verifies if text contains any of values in list
|
static void |
Helper.verifyContainsIsInList(EnhancedBy listValue,
String option) |
verifies if option value is in the list index = -1 indicates the value is not
in list
|
void |
ListHelper.verifyContainsIsInList(EnhancedBy list,
String option) |
verifies if option value is in the list index = -1 indicates the value is not
in list
|
static void |
Helper.verifyElementContainingText(EnhancedBy element,
String text) |
verify if element contains text
|
void |
VerifyHelper.verifyElementContainingText(EnhancedBy element,
String text) |
verify if element contains text
|
static void |
Helper.verifyElementCount(EnhancedBy by,
int value,
int... correction) |
verifies element count
|
void |
VerifyHelper.verifyElementCount(EnhancedBy by,
int value,
int... correction) |
verifies element count element must be > 0 correct value: if more elements
than needed are identified.
|
void |
VerifyHelper.verifyElementHasExactText(EnhancedBy element,
int index,
String text) |
verify if element has exact text value
|
static void |
Helper.verifyElementIsDisplayed(EnhancedBy by) |
verifies if element(s) is (are) displayed
|
void |
VerifyHelper.verifyElementIsDisplayed(EnhancedBy by) |
verifies if element(s) is (are) displayed
|
static void |
Helper.verifyElementIsNotDisplayed(EnhancedBy by) |
verifies if element(s) is (are) not displayed
|
void |
VerifyHelper.verifyElementIsNotDisplayed(EnhancedBy by) |
verifies if element(s) is (are) not displayed
|
static void |
Helper.verifyElementText(EnhancedBy by,
String value) |
verifies element text equals provided value
|
void |
VerifyHelper.verifyElementText(EnhancedBy by,
String value) |
verifies element text equals provided value
|
static void |
Helper.verifyIsInList(EnhancedBy listValue,
String option) |
verifies if option value is in the list index = -1 indicates the value is not
in list
|
static void |
Helper.verifyIsInList(EnhancedBy listValue,
String indicator,
String option) |
verify text option in list based on key value in the list
|
void |
ListHelper.verifyIsInList(EnhancedBy list,
String option) |
verifies if option value is in the list index = -1 indicates the value is not
in list
|
void |
ListHelper.verifyIsInList(EnhancedBy list,
String indicator,
String option) |
verify text option in list based on key value in the list
|
void |
Helper.verifyToolTip(EnhancedBy tooltip,
int index,
String text) |
verify tool tip is displayed
|
void |
VerifyHelper.verifyToolTip(EnhancedBy tooltip,
int index,
String text) |
verify tooltip is displayed
|
static void |
Helper.waitForAdditionalElementsToLoad(EnhancedBy target,
int originalCount) |
waits for element count to increase from the originalCount Usefull When
waiting for a list to expand with additional items
|
static void |
Helper.waitForAdditionalElementsToLoad(EnhancedBy target,
int originalCount,
int time) |
waits for element count to increase from the originalCount Usefull When
waiting for a list to expand with additional items
|
boolean |
WaitHelper.waitForAdditionalElementsToLoad(EnhancedBy target,
int originalCount) |
waits for element count to increase from the originalCount Usefull When
waiting for a list to expand with additional items
|
boolean |
WaitHelper.waitForAdditionalElementsToLoad(EnhancedBy target,
int originalCount,
int time) |
waits for element count to increase from the originalCount Usefull When
waiting for a list to expand with additional items
|
static boolean |
Helper.waitForAnyTextToLoad(EnhancedBy target,
int time,
String... text) |
wait for any text strings to become available
|
static boolean |
Helper.waitForAnyTextToLoad(EnhancedBy target,
String... text) |
wait for any text strings to become available
|
boolean |
WaitHelper.waitForAnyTextToLoad(EnhancedBy target,
int time,
String... text) |
wait for any text strings to become available
|
boolean |
WaitHelper.waitForAnyTextToLoad(EnhancedBy target,
String... text) |
wait for any text strings to become available
|
static boolean |
Helper.waitForAnyTextToLoadContaining(EnhancedBy target,
int time,
String... text) |
wait for any text strings to become available
|
static boolean |
Helper.waitForAnyTextToLoadContaining(EnhancedBy target,
String... text) |
wait for any text strings to become available
|
boolean |
WaitHelper.waitForAnyTextToLoadContaining(EnhancedBy target,
int time,
String... text) |
wait for any text strings to become available
|
boolean |
WaitHelper.waitForAnyTextToLoadContaining(EnhancedBy target,
String... text) |
wait for any text strings to become available
|
boolean |
Helper.waitForClassContain(EnhancedBy target,
int index,
String value) |
wait for class to contain
|
boolean |
Helper.waitForClassContain(EnhancedBy target,
int index,
String value,
int time) |
wait for class to contain value
|
boolean |
WaitHelper.waitForClassContain(EnhancedBy target,
int index,
String value) |
wait for class to contain value
|
boolean |
WaitHelper.waitForClassContain(EnhancedBy target,
int index,
String value,
int time) |
wait for class to contain value
|
boolean |
WaitHelper.waitForCondition(org.openqa.selenium.support.ui.ExpectedCondition<Boolean> condition,
EnhancedBy target,
int time) |
wait for condition to be true
|
static boolean |
Helper.waitForElementToBeClickable(EnhancedBy selector) |
wait for element to become clickable causes instability with hybrid mobile
app
|
static boolean |
Helper.waitForElementToBeClickable(EnhancedBy selector,
int timeInSeconds) |
wait for element to become clickable causes instability with hybrid mobile
app
|
boolean |
WaitHelper.waitForElementToBeClickable(EnhancedBy selector) |
|
boolean |
WaitHelper.waitForElementToBeClickable(EnhancedBy target,
int time) |
|
static boolean |
Helper.waitForElementToBeRemoved(EnhancedBy target) |
waits for element to not be displayed wait for maximum of 60 seconds
|
static boolean |
Helper.waitForElementToBeRemoved(EnhancedBy target,
int time) |
waits for element to not be displayed
|
static boolean |
Helper.waitForElementToBeRemoved(EnhancedBy target,
int time,
int waitForTargetToLoadInSeconds) |
waits for element to not be displayed
|
boolean |
WaitHelper.waitForElementToBeRemoved(EnhancedBy target) |
waits for element to not be displayed wait for maximum of 60 seconds
|
boolean |
WaitHelper.waitForElementToBeRemoved(EnhancedBy target,
int time) |
waits for element to not be displayed
|
boolean |
WaitHelper.waitForElementToBeRemoved(EnhancedBy target,
int time,
int waitForTargetToLoadInSeconds) |
|
static void |
Helper.waitForElementToLoad(EnhancedBy target) |
waits for element to be displayed for amount of time specified by 60 seconds
|
static boolean |
Helper.waitForElementToLoad(EnhancedBy target,
int time) |
waits for element to load count() checks if the element is displayed Then
gets the count number
|
static boolean |
Helper.waitForElementToLoad(EnhancedBy target,
int time,
int count) |
waits for element to load If mobile device, scrolls down the page until
element is visible
|
boolean |
WaitHelper.waitForElementToLoad(EnhancedBy target) |
waits for element to be displayed for amount of time specified by 60 seconds
|
boolean |
WaitHelper.waitForElementToLoad(EnhancedBy target,
int time) |
waits for element to load count() checks if the element is displayed Then
gets the count number
|
boolean |
WaitHelper.waitForElementToLoad(EnhancedBy target,
int time,
int count) |
waits for element to load If mobile device, scrolls down the page until
element is visible
|
static boolean |
Helper.waitForFirstElementToLoad(EnhancedBy element1,
EnhancedBy element2) |
waits for either element to load returns true When first item loads
|
static boolean |
Helper.waitForFirstElementToLoad(EnhancedBy element1,
EnhancedBy element2,
int time) |
waits for either element to load returns true When first item loads
|
static boolean |
Helper.waitForFirstElementToLoad(EnhancedBy element1,
EnhancedBy element2,
EnhancedBy element3) |
waits for either element to load returns true When first item loads
|
static boolean |
Helper.waitForFirstElementToLoad(EnhancedBy element1,
EnhancedBy element2,
EnhancedBy element3,
int time) |
waits for either element to load returns true When first item loads
|
boolean |
WaitHelper.waitForFirstElementToLoad(EnhancedBy element1,
EnhancedBy element2) |
waits for either element to load returns true When first item loads
|
boolean |
WaitHelper.waitForFirstElementToLoad(EnhancedBy element1,
EnhancedBy element2,
int time) |
waits for either element to load returns true When first item loads
|
boolean |
WaitHelper.waitForFirstElementToLoad(EnhancedBy element1,
EnhancedBy element2,
EnhancedBy element3) |
waits for either element to load returns true When first item loads
|
boolean |
WaitHelper.waitForFirstElementToLoad(EnhancedBy element1,
EnhancedBy element2,
EnhancedBy element3,
int time) |
waits for either element to load returns true When first item loads
|
static void |
Helper.waitForListItemToLoad_Contains(EnhancedBy list,
String option) |
waits for item containing in list to load
|
void |
WaitHelper.waitForListItemToLoad_Contains(EnhancedBy list,
String option) |
waits for item containing in list to load
|
static void |
Helper.waitForTextToLoad(EnhancedBy target,
int time,
String text) |
make sure only one element And caller needs to take responsibility to have
text in the element
|
static void |
Helper.waitForTextToLoad(EnhancedBy target,
String text) |
waits for text to be loaded for amount of time specified by 60 seconds
|
void |
WaitHelper.waitForTextToLoad(EnhancedBy target,
int time,
String text) |
make sure only one element And caller needs to take responsibility to have
text in the element
|
void |
WaitHelper.waitForTextToLoad(EnhancedBy target,
String text) |
waits for text to be loaded for amount of time specified by 60 seconds
|
Loginbuilder |
Loginbuilder.withFormSubmit(EnhancedBy element,
EnhancedBy expected) |
|
Loginbuilder |
Loginbuilder.withFormSubmit(EnhancedBy element,
EnhancedBy expected,
EnhancedBy optionalElemennt) |
|
Loginbuilder |
Loginbuilder.withOptionalButton(EnhancedBy element) |
|
Loginbuilder |
Loginbuilder.withOptionalField(EnhancedBy element,
String value) |
|
Loginbuilder |
Loginbuilder.withOptionalSubmit(EnhancedBy element,
EnhancedBy expected) |
|
Loginbuilder |
Loginbuilder.withPassword(EnhancedBy element,
String value) |
|
Loginbuilder |
Loginbuilder.withSelectButton(EnhancedBy element,
EnhancedBy expected) |
|
Loginbuilder |
Loginbuilder.withSelectButtonAndWaitForFirstElement(EnhancedBy element,
EnhancedBy expected,
EnhancedBy expected2) |
|
Loginbuilder |
Loginbuilder.withSelectNext(EnhancedBy element,
EnhancedBy expected) |
|
Loginbuilder |
Loginbuilder.withUsername(EnhancedBy element,
String value) |
|
Loginbuilder |
Loginbuilder.withVerifyError(EnhancedBy element,
String error) |
|
Loginbuilder |
Loginbuilder.withVerifyText(EnhancedBy element,
String text) |
|
Loginbuilder |
Loginbuilder.withWaitForEitherElement(EnhancedBy element,
EnhancedBy element2) |
|
Loginbuilder |
Loginbuilder.withWaitForElement(EnhancedBy element) |
|