Aamir Yaseen | 2 Jul 2007 14:32
Picon
Gravatar

Re: Problem in using Image Comparison

I have tried many times to compare images of different components, but unable to get the test result to be Positive.
Does it really works directly? or we must,modify source ?

Is this possible for anyone to send me any script/piece of script with the image which gives result as positive in case of Image comparison?



--
Regards,
Aamir Yaseen


On 7/2/07, Timothy Wall < twall <at> users.sf.net> wrote:
The default ImageComparator simply does a pixel by pixel comparison
of the screen capture and an ImageIcon created from the given file.
You can always instrument ImageComparator.compare to discover which
pixel is different and why.

This could probably be improved to provide for some variation in
pixel values; antialiased text or subpixel rendering might yield
different results depending on component location.

On Jul 2, 2007, at 7:34 AM, Aamir Yaseen wrote:

> Hi ,
> I am having problem in Image Comparison using Abbot.
> Following is the way, how i am trying to perform Image comparison.
>
> <assert args ="JTextField Instance,CelsiusConverter.xml-JTextField
> Instance.jpg,true" class="abbot.tester.ComponentTester "
> method="assertImage" />
> This command is always failed. whereas both components looks like
> same.
> Also I also did the Image Comparison using image and buffer created
> using abbot source code. Manuel comparison of pixels gives equal
> result but through Abbot I am unable to do so.
>
>
> Any help will be highly appreciated.
>
>
> PS:
> Attach is the Script and Image for Ref.
>
> --
> Kind Regards,
> Aamir Yaseen
>
> <CelsiusConverter.xml>
> <CelsiusConverter.xml-JTextField Instance.jpg>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> abbot-users mailing list
> abbot-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/abbot-users

Timothy Wall
http://abbot.sf.net





-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
abbot-users mailing list
abbot-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/abbot-users

Gmane