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.
    • 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