Package com.piketec.tpt.api.steplist
Interface TestletStep
-
- All Superinterfaces:
IdentifiableRemote
,java.rmi.Remote
,Step
,TptRemote
public interface TestletStep extends Step
The Testlet step lets you link to another testlet. This way, you can:- Create a hierarchical automaton inside a step list.
- Specify which variants to use in a subautomaton.
-
-
Field Summary
-
Fields inherited from interface com.piketec.tpt.api.steplist.Step
CALL_FUNCTION, CHANNEL, COMPARE, DOCUMENTATION, ELSE, ELSE_IF_EXPRESSION, ELSE_IF_VALUE, EMBEDDED_SIGNAL, END, IF_EXPRESSION, IF_VALUE, IMPORT_SIGNAL, MESSAGE_BOX, PARALLEL, PARAMETER, RAMP, RESET_ALL_PARAMETERS, RESET_PARAMETER, RESET_TARGET, TABLE, TESTLET, WAIT, WAIT_EXPRESSION, WAIT_FOR_VALUE, WHILE_EXPRESSION
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getTestlet()
java.lang.String
getVariant()
boolean
isWaitUntilTestletTerminates()
void
setTestlet(java.lang.String testlet)
Sets the linked testlet.void
setVariant(java.lang.String variant)
Sets specified linked variant for the test execution.void
setWaitUntilTestletTerminates(boolean value)
true
if the test should wait until the testlet is finished.-
Methods inherited from interface com.piketec.tpt.api.IdentifiableRemote
getIdentifier
-
Methods inherited from interface com.piketec.tpt.api.steplist.Step
getDocumentation, getProperties, getStepList, getType, isActive, setActive, setDocumentation, setProperties
-
-
-
-
Method Detail
-
getTestlet
java.lang.String getTestlet() throws java.rmi.RemoteException
- Returns:
- the linked testlet.
- Throws:
java.rmi.RemoteException
- remote communication problem
-
setTestlet
void setTestlet(java.lang.String testlet) throws java.rmi.RemoteException
Sets the linked testlet.- Parameters:
testlet
- the name/path of the testlet- Throws:
java.rmi.RemoteException
- remote communication problem
-
getVariant
java.lang.String getVariant() throws java.rmi.RemoteException
- Returns:
- specified linked variant for the test execution.
- Throws:
java.rmi.RemoteException
- remote communication problem
-
setVariant
void setVariant(java.lang.String variant) throws java.rmi.RemoteException
Sets specified linked variant for the test execution.- Parameters:
variant
- name/path of the variant- Throws:
java.rmi.RemoteException
- remote communication problem
-
isWaitUntilTestletTerminates
boolean isWaitUntilTestletTerminates() throws java.rmi.RemoteException
- Returns:
- if the test should wait until the testlet is finished.
- Throws:
java.rmi.RemoteException
- remote communication problem
-
setWaitUntilTestletTerminates
void setWaitUntilTestletTerminates(boolean value) throws java.rmi.RemoteException
true
if the test should wait until the testlet is finished.- Parameters:
value
- true if testlet should wait until testlet is finished- Throws:
java.rmi.RemoteException
- remote communication problem
-
-