Uses of Class
com.shaft.validation.internal.ValidationsExecutor
Packages that use ValidationsExecutor
-
Uses of ValidationsExecutor in com.shaft.driver.internal
Methods in com.shaft.driver.internal that return ValidationsExecutor -
Uses of ValidationsExecutor in com.shaft.validation.internal
Methods in com.shaft.validation.internal that return ValidationsExecutorModifier and TypeMethodDescriptionUse this to check that the actual object contains the expected valueRestValidationsBuilder.containsFileContent(String fileRelativePath) Use this to check if the content of the provided actual response object contains the expected file contentNativeValidationsBuilder.doesNotContain(Object expectedValue) Use this to check that the actual object does not contain the expected valueRestValidationsBuilder.doesNotContainFileContent(String fileRelativePath) Use this to check if the content of the provided actual response object does not contain the expected file contentNativeValidationsBuilder.doesNotEqual(Object expectedValue) Use this to check that the actual object is not equal to the expected valueNumberValidationsBuilder.doesNotEqual(Number expectedValue) Use this to check that the actual number does not equal the expected valueRestValidationsBuilder.doesNotEqualFileContent(String fileRelativePath) Use this to check if the content of the provided actual response object is not equal to the expected file contentRestValidationsBuilder.doesNotEqualFileContentIgnoringOrder(String fileRelativePath) Use this to check if the content of the provided actual response object is not equal to the expected file content (Ignoring Order)NativeValidationsBuilder.doesNotEqualIgnoringCaseSensitivity(Object expectedValue) Use this to check that the actual object is not equal to the expected value (ignoring case sensitivity)JSONValidationsBuilder.doesNotEqualIgnoringOrder(Object expectedValue) Use this to check that the actual json response is not equal to the expected json value (ignoring ordering)FileValidationsBuilder.doesNotExist()Use this to check if a certain file does not existWebDriverElementValidationsBuilder.doesNotExist()Use this to check that the target element does not existWebDriverElementValidationsBuilder.doesNotMatchReferenceImage()Use this to check that the target element does not match a reference image (using the Artificial Intelligence library OpenCV).WebDriverElementValidationsBuilder.doesNotMatchReferenceImage(ValidationEnums.VisualValidationEngine visualValidationEngine) Use this to check that the target element does not match a reference image.NativeValidationsBuilder.doesNotMatchRegex(Object expectedValue) Use this to check that the actual object does not match the expected regular expressionRestValidationsBuilder.doesNotMatchSchema(String fileRelativePath) Use this to check if the content of the provided actual response object matches the schema for the expected file contentNativeValidationsBuilder.equalsIgnoringCaseSensitivity(Object expectedValue) Use this to check that the actual object is equal to the expected value (ignoring case sensitivity)JSONValidationsBuilder.equalsIgnoringOrder(Object expectedValue) Use this to check that the actual json response is equal to the expected json value (ignoring ordering)FileValidationsBuilder.exists()Use this to check if a certain file existsWebDriverElementValidationsBuilder.exists()Use this to check that the target element existsValidationsBuilder.forceFail()Force fails the current validationTextDirectionValidationsBuilder.is(ValidationEnums.TextDirection direction) Validates that text direction metadata equals the target direction.TextLanguageValidationsBuilder.is(ValidationEnums.TextLanguage language) Validates that the target text contains characters from the selected language preset.Validates that the target text matches a supported language code.NativeValidationsBuilder.isArabic()Convenience method that validates Arabic text characters and RTL direction.WebDriverElementValidationsBuilder.isChecked()Use this to check against the provided elements checked attributeWebDriverElementValidationsBuilder.isDisabled()Use this to check against the provided elements disabled attributeWebDriverElementValidationsBuilder.isEnabled()Use this to check against the provided elements disabled attributeUse this to check that the actual object is equal to the expected valueUse this to check that the actual number is equal to the expected valueRestValidationsBuilder.isEqualToFileContent(String fileRelativePath) Use this to check if the content of the provided actual response object is equal to the expected file contentRestValidationsBuilder.isEqualToFileContentIgnoringOrder(String fileRelativePath) Use this to check if the content of the provided actual response object is equal to the expected file content (Ignoring Order)NativeValidationsBuilder.isFalse()Use this to check that the actual object is falseNumberValidationsBuilder.isGreaterThan(Number expectedValue) Use this to check that the actual number is greater than the expected valueNumberValidationsBuilder.isGreaterThanOrEquals(Number expectedValue) Use this to check that the actual number is greater than or equal to the expected valueWebDriverElementValidationsBuilder.isHidden()Use this to check against the provided elements hidden attributeTextDirectionValidationsBuilder.isLeftToRight()Convenience alias for asserting left-to-right direction.NumberValidationsBuilder.isLessThan(Number expectedValue) Use this to check that the actual number is less than the expected valueNumberValidationsBuilder.isLessThanOrEquals(Number expectedValue) Use this to check that the actual number is less than or equal to the expected valueTextDirectionValidationsBuilder.isNot(ValidationEnums.TextDirection direction) Validates that text direction metadata is not equal to the target direction.TextLanguageValidationsBuilder.isNot(ValidationEnums.TextLanguage language) Validates that the target text does not contain characters from the selected language preset.Validates that the target text does not match a supported language code.WebDriverElementValidationsBuilder.isNotChecked()Use this to check against the provided elements checked attributeNativeValidationsBuilder.isNotNull()Use this to check that the actual object is not nullWebDriverElementValidationsBuilder.isNotSelected()Use this to check against the provided elements selected attributeNativeValidationsBuilder.isNull()Use this to check that the actual object is nullTextDirectionValidationsBuilder.isRightToLeft()Convenience alias for asserting right-to-left direction.WebDriverElementValidationsBuilder.isSelected()Use this to check against the provided elements selected attributeNativeValidationsBuilder.isTrue()Use this to check that the actual object is trueWebDriverElementValidationsBuilder.isVisible()Use this to check against the provided elements hidden attributeWebDriverElementValidationsBuilder.matchesReferenceImage()Use this to check that the target element matches a reference image (using the Artificial Intelligence library SHUTTERBUG).WebDriverElementValidationsBuilder.matchesReferenceImage(ValidationEnums.VisualValidationEngine visualValidationEngine) Use this to check that the target element matches a reference image.NativeValidationsBuilder.matchesRegex(Object expectedValue) Use this to check that the actual object matches the expected regular expressionRestValidationsBuilder.matchesSchema(String fileRelativePath) Use this to check if the content of the provided actual response object matches the schema for the expected file contentValidationsExecutor.withCustomReportMessage(String customReportMessage) Set a customized business-readable message that will appear in the execution report instead of the technical log message which will be nested under it