Type | Name and description |
---|---|
static void |
contains(java.lang.String text, java.lang.String subText, boolean caseSensitive = true, java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Verify a String contains another String |
static void |
endsWith(java.lang.String text, java.lang.String suffix, boolean caseSensitive = true, java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Verify whether a String ends with a suffix |
static void |
equals(java.lang.String actual, java.lang.String expected, boolean caseSensitive = true, java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Verify whether two String are equal |
static void |
matches(java.lang.String text, java.lang.String pattern, java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Verify whether a String matches to a pattern |
static void |
notContain(java.lang.String text, java.lang.String subText, boolean caseSensitive = true, java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Verify a String not contains another String |
static void |
notEqual(java.lang.String actual, java.lang.String expected, boolean caseSensitive = true, java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Verify whether two String are not equal |
static void |
startsWith(java.lang.String text, java.lang.String prefix, boolean caseSensitive = true, java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Verify whether a String starts with a prefix |
Methods inherited from class | Name |
---|---|
class GenericAssert |
buildAssertMessage, handleError, handleError, info, isNotNull, isNull, pass |
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Verify a String contains another String
text
- the String to be tested if it contains another StringsubText
- the substringVerify whether a String ends with a suffix
text
- the String to be testedsuffix
- the suffix string valueVerify whether two String are equal
actual
- the String passed to verify if it's equal to another Stringexpected
- the expected String value for the comparisonVerify whether a String matches to a pattern
text
- the String to be testedpattern
- the patternVerify a String not contains another String
text
- the String to be tested if it does not contain another StringsubText
- the substringVerify whether two String are not equal
actual
- the String passed to verify if it's equal to another Stringexpected
- the expected String value for the comparisonVerify whether a String starts with a prefix
text
- the String to be testedprefix
- the prefix string value