Package jp.vmi.selenium.runner.model
Enum ArgTypes
- All Implemented Interfaces:
Serializable,Comparable<ArgTypes>
public enum ArgTypes extends Enum<ArgTypes>
Argument types.
This definition is generated from ArgTypes.js by "tools/convert-ide-command.rb".
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERT_TEXTalert textANSWERanswerARRAY_VARIABLE_NAMEarray variable nameATTRIBUTE_LOCATORattribute locatorCONDITIONAL_EXPRESSIONconditional expressionCOORDcoord stringCSS_LOCATORcss locatorEXPECTED_VALUEexpected valueEXPRESSIONexpressionFORM_LOCATORform locatorHANDLEwindow handleITERATOR_VARIABLE_NAMEiterator variable nameJSONjsonKEY_SEQUENCEkey sequenceLOCATORlocatorLOCATOR_OF_DRAG_DESTINATION_OBJECTlocator of drag destination objectLOCATOR_OF_OBJECT_TO_BE_DRAGGEDlocator of object to be draggedLOOP_LIMITloop limitMESSAGEmessageNO_ARGno argumentOPTION_LOCATORoptionPATTERNtextREGIONregionRESOLUTIONresolutionSCRIPTscriptSELECT_LOCATORselect locatorTEST_CASEtest caseTEXTtextTIMEStimesURLurlVALUEvalueVARIABLE_NAMEvariable nameWAIT_TIMEwait timeXPATHxpath -
Method Summary
Modifier and Type Method Description StringgetDescription()Get description.StringgetId()Get id.StringgetName()Get name.static ArgTypeslookup(String id)Lookup ArgTypes from string.static ArgTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static ArgTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NO_ARG
no argument -
CSS_LOCATOR
css locator -
ALERT_TEXT
alert text -
ANSWER
answer -
ATTRIBUTE_LOCATOR
attribute locator -
ARRAY_VARIABLE_NAME
array variable name -
CONDITIONAL_EXPRESSION
conditional expression -
COORD
coord string -
EXPECTED_VALUE
expected value -
EXPRESSION
expression -
FORM_LOCATOR
form locator -
HANDLE
window handle -
ITERATOR_VARIABLE_NAME
iterator variable name -
JSON
json -
KEY_SEQUENCE
key sequence -
LOCATOR
locator -
LOCATOR_OF_DRAG_DESTINATION_OBJECT
locator of drag destination object -
LOCATOR_OF_OBJECT_TO_BE_DRAGGED
locator of object to be dragged -
LOOP_LIMIT
loop limit -
MESSAGE
message -
OPTION_LOCATOR
option -
PATTERN
text -
REGION
region -
RESOLUTION
resolution -
SCRIPT
script -
SELECT_LOCATOR
select locator -
TEST_CASE
test case -
TEXT
text -
TIMES
times -
URL
url -
VALUE
value -
VARIABLE_NAME
variable name -
WAIT_TIME
wait time -
XPATH
xpath
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
lookup
Lookup ArgTypes from string.- Parameters:
id- id.- Returns:
- ArgTypes.
-
getId
Get id.- Returns:
- id.
-
getName
Get name.- Returns:
- name.
-
getDescription
Get description.- Returns:
- description.
-