public class CandidateElement extends Object
| Constructor and Description |
|---|
CandidateElement(Element sourceElement,
Identification identification,
String relatedFrame) |
CandidateElement(Element element,
Identification identification,
String relatedFrame,
List<FormInput> formInputs)
Constructor for a element a identification and a relatedFrame.
|
CandidateElement(Element element,
String xpath,
List<FormInput> formInputs)
Constructor for a element a xpath-identification and no relatedFrame.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allConditionsSatisfied(EmbeddedBrowser browser)
Check all eventable Condition for correctness.
|
Element |
getElement() |
List<FormInput> |
getFormInputs() |
String |
getGeneralString() |
Identification |
getIdentification() |
String |
getRelatedFrame() |
String |
getUniqueString() |
void |
setEventableCondition(EventableCondition eventableCondition) |
String |
toString() |
public CandidateElement(Element element, Identification identification, String relatedFrame, List<FormInput> formInputs)
element - the element.identification - the identification.relatedFrame - the frame this element belongs to.public CandidateElement(Element element, String xpath, List<FormInput> formInputs)
element - the elementxpath - the xpath expression of the elementpublic CandidateElement(Element sourceElement, Identification identification, String relatedFrame)
public String getGeneralString()
public String getUniqueString()
public Element getElement()
public void setEventableCondition(EventableCondition eventableCondition)
eventableCondition - the EventableConditionpublic Identification getIdentification()
public String getRelatedFrame()
public boolean allConditionsSatisfied(EmbeddedBrowser browser)
browser - the current browser instance that contains the current domeventableCondition,
EventableCondition.checkAllConditionsSatisfied(EmbeddedBrowser)Copyright © 2007-2013. All Rights Reserved.