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: & 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;

In your stability:

  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

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -