com.appperfect.devcommon.script
Interface IValidationResult


public interface IValidationResult

An object is created when a validation is performed after execution of a task. A task once executed can be validated for various conditions in order to declare it as successful after thorough validation.


Method Summary
 java.util.Map getDetails()
 This method provides maximum details available about the validation performed.
 java.lang.String getReasonForFailure()
 If a validation is performed, it returns a boolean value if its successful/failed.
 java.lang.String getReplayFileName()
 To get the file name which was used to validate the HTTP response
 

Method Detail

getDetails

java.util.Map getDetails()
This method provides maximum details available about the validation performed.

Returns:
a map containing key - value pair with detailed information about the validations mis-match

getReasonForFailure

java.lang.String getReasonForFailure()
If a validation is performed, it returns a boolean value if its successful/failed. A failed validation can provide more information about the failure using this method

Returns:
a reasom for failure of the task

getReplayFileName

java.lang.String getReplayFileName()
To get the file name which was used to validate the HTTP response

Returns:
the file name which was used to validate the HTTP response


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.