public class TestCaseMain
Type Params | Return Type | Name and description |
---|---|---|
|
public static void |
beforeStart() Setup test case or test suite before executing. |
|
public static Map<String, Object> |
getGlobalVariables(String profileName) |
|
public static ScriptEngine |
getScriptEngine() |
|
public static void |
invokeEndSuite(String testSuiteId) |
|
public static void |
invokeStartSuite(String testSuiteId) |
|
public static void |
logGlobalVariableError(Exception e) |
|
public static TestResult |
runFeatureFile(String featureFile) |
|
public static TestResult |
runTestCase(String testCaseId, TestCaseBinding testCaseBinding, FailureHandling flowControl) |
|
public static TestResult |
runTestCase(String testCaseId, TestCaseBinding testCaseBinding, FailureHandling flowControl, boolean doCleanUp) |
|
public static TestResult |
runTestCase(String testCaseId, TestCaseBinding testCaseBinding, FailureHandling flowControl, boolean isMain, boolean doCleanUp) |
|
public static TestResult |
runTestCaseRawScript(String testScript, String testCaseId, TestCaseBinding testCaseBinding, FailureHandling flowControl) |
|
public static TestResult |
runTestCaseRawScript(String testScript, String testCaseId, TestCaseBinding testCaseBinding, FailureHandling flowControl, boolean doCleanUp) |
|
public static TestResult |
runWSVerificationScript(String verificationScript, FailureHandling flowControl, boolean doCleanUp) |
|
public static TestResult |
runWSVerificationScript(TestCaseBinding testCaseBinding, String verificationScript, FailureHandling flowControl, boolean doCleanUp) |
|
public static void |
startTestSuite(String testSuiteId, Map<String, String> suiteProperties, File testCaseBindingFile) |
Setup test case or test suite before executing. CustomKeywords now has many custom keyword static methods, each one is named with format [packageName].[className].[keywordName] but Groovy compiler itself cannot invoke that formatted name. Therefore, we must change the meta class of CustomKeywords to another one.