Concordion: How to compare two files? -
I am new to Concordion. I have created a sample project and have tried to compare two files with the help of hesitation. . Kinldy tell me do we have any tag together that can compare two files?
My solution.
In your HTML file: In your stability: & lt; Span concordion: set = "# urlFileA" & gt; /path/fileA.json< / Span & gt; & Lt; Span concordion: set = "# urlFileB" & gt; /path/fileB.json< / Span & gt; & Lt; Span concordion: assertTrue = "compare (# urlFileA, # urlFileB)" & gt; True & lt; / Span & gt;
compare public boolean (string url file a, string url file b) {// file Get both files together and read fileInputStream files to // compare ..... // then return true or false}
Comments
Post a Comment