DevOps Edition for Continuous Integration 10.4 | Unit Test Framework | Adding Test Cases | Output Comparison
 
Output Comparison
Unit Test Framework allows you to select predefined or customize the output comparison to compare service results and check the destination table to confirm the operation executed successfully.
* Prerequisite
For the Output Comparison section to appear on the webMethods TestSuite screen, ensure that you select the Display all comparators option on the Preferences dialog box. To select Allow Comparator Configuration, navigate to Window > Preferences > Sotware AG > webMethods TestSuite > Advanced.
1. On the Output Comparison section, select Comparator Type.
2. Select one of the following options:
Select...
To...
Default
Compare the actual and expected service result without any filter.
Ignore Namespace Prefix
Ignore the namespace prefix from the service results.
For example, for a field value demotest:employee in the actual result, where demotest is the namespace prefix, Unit Test Framework ignores the namespace and uses employee for comparison.
Use Field Alias
Specify which fields in the service result should be compared.
You have to provide a field alias for the field in the actual result that you want to Unit Test Framework to compare against in the expected output.
For example, for a field value demotest:employee in the actual result, you can assign a 1002 as the field alias. Then, Unit Test Framework uses 1002 instead of demotest:employee for comparison.
Click to add the list of fields to compare.
Click , or to edit or delete the entries.
Custom
Specify a custom comparator for expected output other than provided with the plug-in.

Copyright © 2017-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release