|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.canoo.webtest.steps.Step
com.canoo.webtest.steps.store.BaseStoreStep
com.canoo.webtest.extension.StoreInputFieldAttribute
public class StoreInputFieldAttribute
StoreInputFieldAttribute
| Field Summary |
|---|
| Fields inherited from class com.canoo.webtest.steps.Step |
|---|
DEFAULT_DESCRIPTION, ELEMENT_ATTRIBUTE_ID, ELEMENT_ATTRIBUTE_NAME, PROPERTY_TYPE_ANT, PROPERTY_TYPE_ANT_STRICT, PROPERTY_TYPE_DEFAULT, PROPERTY_TYPE_DYNAMIC |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
StoreInputFieldAttribute()
|
|
| Method Summary | |
|---|---|
void |
doExecute()
Locate all applicable html input components, check their number (size == 1) and store the value of the attribute. |
String |
getAttributeName()
|
String |
getFieldIndex()
|
String |
getFormName()
|
String |
getName()
|
String |
getValue()
|
void |
setAttributeName(String name)
Sets the name of the attribute of interest. |
void |
setFieldIndex(String index)
Sets the index of the attribute of interest. |
void |
setFormName(String formName)
Set the form name. |
void |
setName(String name)
Sets the name of the input field of interest. |
void |
setPropertyName(String name)
Sets the Name of the Property. |
void |
setValue(String value)
Sets the input field value to match against if there are multiple input fields with the same name. |
protected void |
verifyParameters()
Verifies the parameters. |
| Methods inherited from class com.canoo.webtest.steps.store.BaseStoreStep |
|---|
getComputedValue, getProperty, getPropertyType, isPerformingAction, setProperty, setPropertyType, storeProperty, storeProperty |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StoreInputFieldAttribute()
| Method Detail |
|---|
public void doExecute()
throws Exception
doExecute in class StepStepFailedException - if no applicable button was found
Exceptionpublic void setName(String name)
name - Sets the name value.public String getName()
public void setValue(String value)
value - Sets the value of the input field of interest.public String getValue()
public void setAttributeName(String name)
name - Sets the name of the attribute.public String getAttributeName()
public void setFieldIndex(String index)
index - Selects the attribute of interest if more than one match other criteria (first index is 0).public String getFieldIndex()
public void setPropertyName(String name)
name - The Property Namepublic void setFormName(String formName)
formName - public String getFormName()
protected void verifyParameters()
verifyParameters in class Step
|
Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||