2017 up to now  | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2013


[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