Type | Name and description |
---|---|
static void |
equals(java.lang.String verifiedDate, java.lang.String compare2Date, java.lang.String format = 'dd/MM/yyyy', java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Assert that the tested date equals to another date |
static void |
isAfter(java.lang.String verifiedDate, java.lang.String compare2Date, java.lang.String format = 'dd/MM/yyyy', java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Assert that the tested date is after a date |
static void |
isBefore(java.lang.String verifiedDate, java.lang.String compare2Date, java.lang.String format = 'dd/MM/yyyy', java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Assert that the tested date is before a date |
static void |
matchesDateTimeFormat(java.lang.String dateInString, java.lang.String datetimeFormat, java.lang.String description, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.STOP_ON_FAILURE) Assert that a date string matches to expected format |
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() |
Assert that the tested date equals to another date
verifiedDate
- the input string of date time to be verifiedcompare2Date
- the input string of date time to compare todescription
- the verification infoAssert that the tested date is after a date
verifiedDate
- the input string of date time to be verifiedcompare2Date
- the input string of date time to compare todescription
- the verification infoAssert that the tested date is before a date
verifiedDate
- the input string of date time to be verifiedcompare2Date
- the input string of date time to compare todescription
- the verification infoAssert that a date string matches to expected format
dateInString
- the input string of date time to be verifieddatetimeFormat
- the input date time pattern which uses to verify the date passed indescription
- verification info