1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.model.testsuite;
14
15 import com.eviware.soapui.model.ModelItem;
16
17 /***
18 * A TestStep in a TestCase
19 *
20 * @author Ole.Matzura
21 */
22
23 public interface TestStep extends ModelItem
24 {
25 public final static String DISABLED_PROPERTY = TestStep.class.getName() + "@disabled";
26 public final static String LABEL_PROPERTY = TestStep.class.getName() + "@label";
27
28 public TestCase getTestCase();
29
30 public void prepare( TestRunner testRunner, TestRunContext testRunContext ) throws Exception;
31
32 public void finish( TestRunner testRunner, TestRunContext testRunContext );
33
34 public boolean cancel();
35
36 public TestStepResult run( TestRunner testRunner, TestRunContext testRunContext );
37
38 public String [] getPropertyNames();
39
40 public void setPropertyValue( String name, String value );
41
42 public String getPropertyValue( String name );
43
44 public TestStepProperty getProperty( String name );
45
46 public boolean isDisabled();
47
48 public String getLabel();
49 }