Menu

Cannot get AssertImage to work

Help
boomtown15
2006-12-06
2013-05-20
  • boomtown15

    boomtown15 - 2006-12-06

    I have tried using Abbot AssertImage by following the instructions found in other forums, but for some reason my assertion always fails.  I've changed the source code to write out both jpgs and both look exactly the same and when I compare then on the command line they are the same.  I'm not sure where to go with this one and I need some image comparisons for regression testing.  Can anyone help here... please?   

     
    • boomtown15

      boomtown15 - 2006-12-06

      In case anyone has run into this problem I found a workaround.  Instead of comparing the images I write out both images to file (the first one is already written on recording) and compare the two binary files.  This does seem to work correctly.  If anyone is interested in the code let me know.  I've also changed the format of the files from jpg to png.  Png's are usually much smaller.

       
      • Jazure

        Jazure - 2008-07-25

        Do you still have the code available for comparing the images?

        Thanks.

         

Log in to post a comment.