public class WebControl extends Object
Constructor and Description |
---|
WebControl(Frame parentValue,
String locatorValue)
.
|
WebControl(Frame parentValue,
String parentElementValue,
String locatorValue)
.
|
Modifier and Type | Method and Description |
---|---|
void |
click()
.
|
protected WebClient |
client()
.
|
String |
getAttribute(String attribute)
.
|
WebClient |
getClient() |
Point |
getLocation()
.
|
String |
getLocator() |
Frame |
getParent() |
String |
getParentElement() |
Dimension |
getSize()
.
|
String |
getValue()
.
|
String |
innerHtml()
.
|
String |
innerText()
.
|
boolean |
isFocused()
.
|
void |
setClient(WebClient clientValue) |
void |
setLocator(String locatorValue) |
void |
setParent(Frame parentValue) |
void |
setParentElement(String parentElementValue) |
public WebControl(Frame parentValue, String locatorValue)
parentValue
- .locatorValue
- .public final WebClient getClient()
public final void setClient(WebClient clientValue)
clientValue
- the client to setpublic final Frame getParent()
public final void setParent(Frame parentValue)
parentValue
- the parent to setpublic final String getParentElement()
public final void setParentElement(String parentElementValue)
parentElementValue
- the parentElement to setpublic final String getLocator()
public final void setLocator(String locatorValue)
locatorValue
- the locator to setprotected final WebClient client()
public final String getAttribute(String attribute) throws RemoteException
attribute
- .RemoteException
- .public final Point getLocation() throws RemoteException
RemoteException
- .public final Dimension getSize() throws RemoteException
RemoteException
- .public final String getValue() throws RemoteException
RemoteException
- .public final String innerHtml() throws RemoteException
RemoteException
- .public final String innerText() throws RemoteException
RemoteException
- .public final boolean isFocused() throws RemoteException
RemoteException
- .Copyright © 2013. All rights reserved.