List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren


[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
Windows.

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,
    Greg

Паша <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                     http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833