Mailingliste - Einträge 2006


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] Panel Image Comparision


  • Subject: Re: [qftestJUI] Panel Image Comparision
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 29 May 2006 01:03:42 +0200

Hello Chong,

indeed, image checks are broken for non-opaque components. This
problem actually appears to be due to a bug in off-screen painting of
double-buffered Swing components. At least turning off double
buffering fixes the overlaps.

This still leaves another problem with image checks for non-opaque
components: The missing background.

Both problems have been fixed for the next version of qftestJUI which
will use the background color of a parent component.

Best regards,
    Greg

chong@?.com writes:

> Hello Greg:
>   Somehow the tool's check image function turns the panel background
> opaque to true. Now I use SUT script to set the Panel opaque to true
> right before the Check image call, it is ok now. Otherwise, I see
> overlap image.
> 
> Regards,
> /Chong
> >
> > Hello Chong,
> >
> > what causes the panel to highlit when running manually?
> >
> > If it's moving the mouse over the panel, use a MOVED mouse event node.
> > Either temporarily turn off packing of MOVED events to record it or
> > create it manually.
> >
> > Best regards,
> >     Greg
> >
> > chong@?.com writes:
> >
> >> Hello,
> >>   I save a JPanel image. If I run the test continuly, the Check image
> >> always fail; but if I set the a break point at Check image statement,
> >> click on the statement after the break, I see the Panel get highlight
> >> it, then I step forward, the Check image pass.
> >>   In qftest, how can I make the Panel highlight?
> >>
> >> Regards,
> >> /Chong

-- 
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876


Videos Downloads Dokumentation Kaufen Gratis Testen