Package org.mozilla.zest.core.v1
Class ZestClientElementAssign
- java.lang.Object
-
- org.mozilla.zest.core.v1.ZestElement
-
- org.mozilla.zest.core.v1.ZestStatement
-
- org.mozilla.zest.core.v1.ZestClient
-
- org.mozilla.zest.core.v1.ZestClientElement
-
- org.mozilla.zest.core.v1.ZestClientElementAssign
-
public class ZestClientElementAssign extends ZestClientElement
Clear the specified client element.
-
-
Field Summary
-
Fields inherited from class org.mozilla.zest.core.v1.ZestElement
JSON_ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description ZestClientElementAssign()ZestClientElementAssign(String variableName, String sessionIdName, String type, String element)ZestClientElementAssign(String variableName, String sessionIdName, String type, String element, String attribute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZestStatementdeepCopy()Deep copy.StringgetAttribute()StringgetVariableName()Stringinvoke(ZestRuntime runtime)booleanisPassive()Checks if is passive.voidsetAttribute(String attribute)voidsetVariableName(String variableName)-
Methods inherited from class org.mozilla.zest.core.v1.ZestClientElement
getElement, getType, getWebElement, getWindowHandle, setElement, setType, setWindowHandle
-
Methods inherited from class org.mozilla.zest.core.v1.ZestClient
isSameSubclass
-
Methods inherited from class org.mozilla.zest.core.v1.ZestStatement
getIndex, getNext, getPrevious, init, insertAfter, insertBefore, isEnabled, remove, setEnabled, setNext, setPrev
-
Methods inherited from class org.mozilla.zest.core.v1.ZestElement
getElementType, setElementType
-
-
-
-
Constructor Detail
-
ZestClientElementAssign
public ZestClientElementAssign(String variableName, String sessionIdName, String type, String element)
-
ZestClientElementAssign
public ZestClientElementAssign(String variableName, String sessionIdName, String type, String element, String attribute)
-
ZestClientElementAssign
public ZestClientElementAssign()
-
-
Method Detail
-
getVariableName
public String getVariableName()
-
setVariableName
public void setVariableName(String variableName)
-
getAttribute
public String getAttribute()
-
setAttribute
public void setAttribute(String attribute)
-
invoke
public String invoke(ZestRuntime runtime) throws ZestClientFailException
- Specified by:
invokein classZestClient- Throws:
ZestClientFailException
-
deepCopy
public ZestStatement deepCopy()
Description copied from class:ZestElementDeep copy.- Specified by:
deepCopyin classZestStatement- Returns:
- the zest element
-
isPassive
public boolean isPassive()
Description copied from class:ZestStatementChecks if is passive.- Specified by:
isPassivein classZestStatement- Returns:
- true, if is passive
-
-