@CompileStatic class BuiltinKeywords extends Object
Constructor and description |
---|
BuiltinKeywords
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static Object |
callTestCase(TestCase calledTestCase, Map binding, FailureHandling flowControl) Call and execute another test case |
|
static Object |
callTestCase(TestCase calledTestCase, Map binding) Call and execute another test case |
|
static void |
comment(String message) |
|
static String |
concatenate(String[] strings, FailureHandling flowControl) Concatenate string array into a single string |
|
static String |
concatenate(String[] strings) Concatenate string array into a single string |
|
static void |
delay(Number second, FailureHandling flowControl) Delay execution for a specific time (in seconds) |
|
static void |
delay(Number second) Delay execution for a specific time (in seconds) |
|
static boolean |
verifyCheckpoint(Checkpoint checkpoint, boolean logChangedValues, FailureHandling flowControl) Verify Checkpoint |
|
static boolean |
verifyCheckpoint(Checkpoint checkpoint, boolean logChangedValues) Verify Checkpoint |
|
static boolean |
verifyEqual(Object actualObject, Object expectedObject, FailureHandling flowControl) Verify if two objects are equal. |
|
static boolean |
verifyEqual(Object actualObject, Object expectedObject) Verify if two objects are equal. |
|
static boolean |
verifyGreaterThan(Object actualNumber, Object expectedNumber, FailureHandling flowControl) Verify if the actual number is greater than the expected number |
|
static boolean |
verifyGreaterThan(Object actualNumber, Object expectedNumber) Verify if the actual number is greater than the expected number |
|
static boolean |
verifyGreaterThanOrEqual(Object actualNumber, Object expectedNumber, FailureHandling flowControl) Verify if the actual number is greater than or equal with the expected number |
|
static boolean |
verifyGreaterThanOrEqual(Object actualNumber, Object expectedNumber) Verify if the actual number is greater than or equal with the expected number |
|
static boolean |
verifyLessThan(Object actualNumber, Object expectedNumber, FailureHandling flowControl) Verify if the actual number is less than the expected number |
|
static boolean |
verifyLessThan(Object actualNumber, Object expectedNumber) Verify if the actual number is less than the expected number |
|
static boolean |
verifyLessThanOrEqual(Object actualNumber, Object expectedNumber, FailureHandling flowControl) Verify if the actual number is less than or equal with the expected number |
|
static boolean |
verifyLessThanOrEqual(Object actualNumber, Object expectedNumber) Verify if the actual number is less than or equal with the expected number |
|
static boolean |
verifyMatch(String actualText, String expectedText, boolean isRegex, FailureHandling flowControl) Verify if two strings match each other, the second string can be a regular expression. |
|
static boolean |
verifyMatch(String actualText, String expectedText, boolean isRegex) Verify if two strings match each other, the second string can be a regular expression. |
|
static boolean |
verifyNotEqual(Object actualObject, Object expectedObject, FailureHandling flowControl) Verify if two objects are not equal. |
|
static boolean |
verifyNotEqual(Object actualObject, Object expectedObject) Verify if two objects are not equal. |
|
static boolean |
verifyNotMatch(String actualText, String expectedText, boolean isRegex, FailureHandling flowControl) Verify if two strings do not match each other, the second string can be a regular expression. |
|
static boolean |
verifyNotMatch(String actualText, String expectedText, boolean isRegex) Verify if two strings do not match each other, the second string can be a regular expression. |
Call and execute another test case
calledTestCase
- represents a test casebinding
- contains variables bindings for the called test case.
If the binding parameter is null, default values of all variables are used.
Call and execute another test case
calledTestCase
- represents a test casebinding
- contains variables bindings for the called test case.
If the binding parameter is null, default values of all variables are used.
Concatenate string array into a single string
strings
- a string arrayConcatenate string array into a single string
strings
- a string arrayDelay execution for a specific time (in seconds)
second
- number of seconds to delay. Eg: 0.5, 10, 30.Delay execution for a specific time (in seconds)
second
- number of seconds to delay. Eg: 0.5, 10, 30.Verify Checkpoint
checkpoint
- CheckpointlogChangedValues
- true
will log all the changed value between checkpoint data and the source. false
will not log any changed value.flowControl
- failure handlingtrue
if checked data of checkpoint matches their source data. Otherwise, false
.Verify Checkpoint
checkpoint
- CheckpointlogChangedValues
- true
will log all the changed value between checkpoint data and the source. false
will not log any changed value.true
if checked data of checkpoint matches their source data. Otherwise, false
.Verify if two objects are equal.
Verify if two objects are equal.
Verify if the actual number is greater than the expected number
Verify if the actual number is greater than the expected number
Verify if the actual number is greater than or equal with the expected number
Verify if the actual number is greater than or equal with the expected number
Verify if the actual number is less than the expected number
Verify if the actual number is less than the expected number
Verify if the actual number is less than or equal with the expected number
Verify if the actual number is less than or equal with the expected number
Verify if two strings match each other, the second string can be a regular expression.
isRegex
- whether string2 is regular expression or not, has two values
true, false (default if left empty)Verify if two strings match each other, the second string can be a regular expression.
isRegex
- whether string2 is regular expression or not, has two values
true, false (default if left empty)Verify if two objects are not equal.
Verify if two objects are not equal.
Verify if two strings do not match each other, the second string can be a regular expression.
isRegex
- whether string2 is regular expression or not, has two values
true, false (default if left empty)Verify if two strings do not match each other, the second string can be a regular expression.
isRegex
- whether string2 is regular expression or not, has two values
true, false (default if left empty)