 | ValidateOptions Constructor (Boolean, ReportLevel, ReportLevel, ValidateResultOption, ValidateResultOption, ValidateResultOption, ValidateResultOption, Duration) |
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic Options(
bool exceptionOnFail,
ReportLevel reportLevelOnFailure,
ReportLevel reportLevelOnSuccess,
ValidateResultOption reportScreenshot,
ValidateResultOption reportSimilarity,
ValidateResultOption reportDifferenceImages,
ValidateResultOption reportExpectedAndActualImages,
Duration gracePeriod
)
Public Sub New (
exceptionOnFail As Boolean,
reportLevelOnFailure As ReportLevel,
reportLevelOnSuccess As ReportLevel,
reportScreenshot As ValidateResultOption,
reportSimilarity As ValidateResultOption,
reportDifferenceImages As ValidateResultOption,
reportExpectedAndActualImages As ValidateResultOption,
gracePeriod As Duration
)
Parameters
- exceptionOnFail
- Type: SystemBoolean
A value specifying if an exception should be
thrown if the validation fails. - reportLevelOnFailure
- Type: RanorexReportLevel
The report level used if the validation fails. - reportLevelOnSuccess
- Type: RanorexReportLevel
The report level used if the validation succeeds. - reportScreenshot
- Type: RanorexValidateResultOption
A value specifying whether to add a screenshot to the report. - reportSimilarity
- Type: RanorexValidateResultOption
A value specifying whether to add similarity results to the report. - reportDifferenceImages
- Type: RanorexValidateResultOption
A value specifying whether to add difference images to the report. - reportExpectedAndActualImages
- Type: RanorexValidateResultOption
A value specifying whether to add the expected and actual images to the report. - gracePeriod
- Type: RanorexDuration
The grace period allowed for values to stabilize
See Also