Comparing database values using silk 4j and display result in silk central
I am trying to compare database values and would like to display my result on silk central along with validations
Currently , silk central is passing my test cases on basis of execution not on basis of mismatch of values
Would like my result displayed on silk central.
Note: I am executing my silk Junit test cases from silk central
RE: Comparing database values using silk 4j and display result in silk central
I think the best you can do here is log an error in the Truelog file, which would then be uploaded to SilkCentral at the end of the test.
This would not produce a 'Failed' Result but at least all mismatched values would at least be registered as an error in the Truelog and Details.html.
Errors, warnings and informational messages can be written to the Truelog using the following methods:
desktop.logInfo("This is a comment!");
desktop.logWarning("This is a warning!");
desktop.logError("This is an error!");