Пример #1
0
 /**
  * Method finds labels by name.
  *
  * @param grid of comments
  * @param index of grid
  * @param name locator
  * @return list of labels
  */
 public static ILabel getByName(final Grid grid, final int index, final String name) {
   return get(grid, index, ControlLocation.getByName(name));
 }
Пример #2
0
 /**
  * Method finds label by css.
  *
  * @param labelSelector locator
  * @return get label by css
  */
 public static ILabel getByCss(final String labelSelector) {
   return get(ControlLocation.getByCss(labelSelector));
 }
Пример #3
0
 /**
  * Method finds label by id.
  *
  * @param id locator
  * @return get label by id
  */
 public static ILabel getById(final String id) {
   return get(ControlLocation.getById(id));
 }
Пример #4
0
 /**
  * Method finds label by name.
  *
  * @param name locator
  * @return get label by name
  */
 public static ILabel getByName(final String name) {
   return get(ControlLocation.getByName(name));
 }
Пример #5
0
 /**
  * Method finds label by xpath.
  *
  * @param xpathExpression locator
  * @return get label by xpath
  */
 public static ILabel getByXpath(final String xpathExpression) {
   return get(ControlLocation.getByXPath(xpathExpression));
 }
Пример #6
0
 /**
  * Method finds label by class name.
  *
  * @param className locator
  * @return get label by class name
  */
 public static ILabel getByClassName(final String className) {
   return get(ControlLocation.getByClassName(className));
 }
Пример #7
0
 /**
  * Method finds grid by class name.
  *
  * @param className locator
  * @return get grid by class name
  */
 public static Grid getByClassName(final String className) {
   return getGrid(ControlLocation.getByClassName(className));
 }
Пример #8
0
 /**
  * Method finds grid by css.
  *
  * @param cssExpression locator
  * @return get grid by css
  */
 public static Grid getByCss(final String cssExpression) {
   return getGrid(ControlLocation.getByCss(cssExpression));
 }
Пример #9
0
 /**
  * Method finds grid by xpath.
  *
  * @param xpathExpression locator
  * @return get grid by xpath
  */
 public static Grid getByXpath(final String xpathExpression) {
   return getGrid(ControlLocation.getByXPath(xpathExpression));
 }