Class AddressTriggerField
java.lang.Object
com.onenetwork.platform.tools.test.ui.components.Component
com.onenetwork.platform.tools.test.ui.components.AddressTriggerField
public class AddressTriggerField extends Component
Represents an instance of
One.form.AddressTriggerField.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AddressTriggerField(UIContext context, org.openqa.selenium.WebElement formItemEl)
-
Method Summary
Modifier and Type Method Description void
clearAddressfield()
Clears the Values from the Address filed or popupvoid
closeAddressPopup()
Close the Address field popouporg.json.JSONObject
getValue()
org.openqa.selenium.WebElement
openAddressPopup()
Open the popup for Address fieldvoid
setValue(org.json.JSONObject addrObj)
Methods inherited from class com.onenetwork.platform.tools.test.ui.components.Component
getEl, getId, isDisplayed, isRequired
-
Field Details
-
Constructor Details
-
Method Details
-
setValue
public void setValue(org.json.JSONObject addrObj) -
getValue
public org.json.JSONObject getValue() -
openAddressPopup
public org.openqa.selenium.WebElement openAddressPopup()Open the popup for Address field- Returns:
-
clearAddressfield
public void clearAddressfield()Clears the Values from the Address filed or popup -
closeAddressPopup
public void closeAddressPopup()Close the Address field popoup
-