public abstract class RS
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RS.CSS
This class contains methods returning an css-selector.
|
static class |
RS.XPATH
This class contains methods returning an xpath.
please refer to xpath syntax. |
Constructor and Description |
---|
RS() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
attribute(java.lang.String attribute,
java.lang.String value,
boolean partial,
boolean relative)
Return a Recognition String of format "xpath=xxx" according to the pair (attribute,value).
|
static java.lang.String |
css(java.lang.String tagName,
java.lang.String cssClassName)
Return a Recognition String of format "css=xxx" according to the tagName and cssClassName.
|
static java.lang.String |
getXPATHForControls() |
static java.lang.String |
id(java.lang.String id)
Return a Recognition String of format "id=xxx".
|
static void |
main(java.lang.String[] args) |
static java.lang.String |
text(java.lang.String text,
boolean partial,
boolean relative)
Return a Recognition String of format "xpath=xxx" according to the text.
|
static java.lang.String |
xpath(java.lang.String xpath)
Return a Recognition String of format "xpath=xxx".
|
public static java.lang.String text(java.lang.String text, boolean partial, boolean relative)
public static java.lang.String attribute(java.lang.String attribute, java.lang.String value, boolean partial, boolean relative)
public static java.lang.String css(java.lang.String tagName, java.lang.String cssClassName)
public static java.lang.String id(java.lang.String id)
public static java.lang.String xpath(java.lang.String xpath)
public static java.lang.String getXPATHForControls()
public static void main(java.lang.String[] args)
Copyright © SAS Institute. All Rights Reserved.