|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.ajocado.waiting.retrievers.AbstractRetriever<String>
org.jboss.arquillian.ajocado.waiting.retrievers.AttributeRetriever
public class AttributeRetriever
Retrieves the attribute with given attributeLocator.
| Constructor Summary | |
|---|---|
protected |
AttributeRetriever()
Instantiates a new attribute retriever. |
| Method Summary | |
|---|---|
AttributeRetriever |
attributeLocator(AttributeLocator<?> attributeLocator)
Gets a AttributeRetriever object preset with attributeLocator to given value. |
Convertor<String,String> |
getConvertor()
Uses PassOnConvertor to pass the JavaScript result to result value. |
static AttributeRetriever |
getInstance()
Factory method. |
JavaScript |
getJavaScriptRetrieve()
JavaScript expression to retrieve attribute value from element given by attributeLocator |
String |
retrieve()
Retrieves the attribute value from element given by attributeLocator |
| Methods inherited from class org.jboss.arquillian.ajocado.waiting.retrievers.AbstractRetriever |
|---|
getValue, initializeValue, isValueChanged, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.arquillian.ajocado.waiting.retrievers.RetrievedValueHolder |
|---|
getValue, initializeValue, setValue |
| Constructor Detail |
|---|
protected AttributeRetriever()
| Method Detail |
|---|
public String retrieve()
retrieve in interface SeleniumRetriever<String>retrieve in class AbstractRetriever<String>public JavaScript getJavaScriptRetrieve()
getJavaScriptRetrieve in interface JavaScriptRetriever<String>public static AttributeRetriever getInstance()
public AttributeRetriever attributeLocator(AttributeLocator<?> attributeLocator)
attributeLocator - the attribute locator to preset
public Convertor<String,String> getConvertor()
PassOnConvertor to pass the JavaScript result to result value.
getConvertor in interface JavaScriptRetriever<String>
|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||