Package | Description |
---|---|
org.safs.cukes.ai.selenium |
Modifier and Type | Method and Description |
---|---|
protected Criteria |
AIComponent.generateCriteria(java.lang.String recognitionString) |
protected Criteria |
AIComponent.generateCriteria(java.lang.String recognitionString,
java.lang.String customerType) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<org.openqa.selenium.WebElement> |
AISearchBase.findElements(Criteria criteria)
Find the WebElements according to the search Criteria.
In this method we firstly find the WebElements by SeleniumPlus-Library (the frame may get switched if the RS containing information about frame). In not found, we try to find WebElements in AI way, Criteria's component RS will be treated as the anchor-label to search components around. |
protected java.util.List<org.openqa.selenium.WebElement> |
AIEditBoxActions.findElements(Criteria criteria) |
protected Component |
AISearchBase.getCachedLibComponent(Criteria criteria)
get the cached Component according to the key, which can be a text-label, xpath or css-selector ect.
|
protected void |
AIComponent.process(java.lang.String action,
Criteria criteria,
int nthMatched,
java.util.List<java.lang.String> parameters)
Handle the SAFS Keywords against the a component matching the provided textlabel.
|
protected void |
AISearchBase.saveCachedLibComponent(Criteria criteria,
Component component)
put the Component into the cache by the key, which can be a text-label, xpath or css-selector ect.
|
Copyright © SAS Institute. All Rights Reserved.