List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 

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

Re: [QF-Test] White field on screenshot

  • Subject: Re: [QF-Test] White field on screenshot
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Mon, 28 Jan 2013 11:40:42 +0100

Hi Paul,

I don't know exactly why this happens, but painting components to an
offscreen image is sometimes problematic, both with SWT and on

As a workaround you can force the image grab to use a screenshot
instead by running the following SUT script before the check:

rc.getComponent("<id>").setData("qfs:hardimage", "true")

For <id> above, please use the component id of the 'Check image' node.

Best regards,

Паша <pavel.finkelshtein@?.com> writes:

> Hello everyone,
> It's me again. I've faced new problem:
> We are developing SWT application. When I try to do image comparison in qftest everything goes OK
> under linux, but under windows Swing rendered panels are replaced by white panel. Do you have any
> ideas, why can it happen and how to eliminate this trouble?
> Thank you in advance!
> Best,
> Paul

Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833