[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] White field on screenshot
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
|