Logo QF-Test

Finding valuable answers
in the Mailing List Archive.


Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

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] Size mismatch Error problem

  • Subject: Re: [QF-Test] Size mismatch Error problem
  • From: Michael Höber, QFS Support <support@?.de>
  • Date: Mon, 25 Feb 2013 15:28:58 +0100



when running on different machines or operating systems, the SUT's windows may be at different size resulting in failed image checks with size mismatches.

You should always ensure to have your windows being the same size.

To do so please insert a 'Component event' with COMPONENT_RESIZED and specify the component ID of the window itself.

Define a size which is possible at all machines.

Please see:



You can also define an 'Actual check region inside image' at the 'Check image' node. For example, if there’s a part at the right which you don’t care about, then you can define a region for the left part only. QF-Test will then check this part only and accept larger images because it ignores the got size if it's large enough. Please see:



You can also have a look at QF-Test's advanced image checks. There you can  find the possibility to resize images before checking, but then got image will get scaled.

Please see:


A sample algorithm for scaling/resizing the image could be:



But I think first of all  you should take care of identically sized windows at all testing machines.


Best regards,




Get the most out of QF-Test - through training directly from the authors

* via webinar       http://www.qfs.de/en/info/OnlineTraining_QF-Test.pdf

* here at QFS             http://www.qfs.de/en/info/Training_QF-Test.pdf


QFS Support - Michael Hoeber            

Quality First Software GmbH                http://www.qfs.de

Tulpenstr. 41                         Tel: +49 8171 38648-20

DE-82538 Geretsried                   Fax: +49 8171 38648-16

GF: Gregor Schmid, Karlheinz Kellerer     HRB München 140833



From: qftest-list-bounces@?.de [mailto:qftest-list-bounces@?.de] On Behalf Of Markus.Arnold@?.com
Sent: Friday, February 22, 2013 4:18 PM
To: qftest-list@?.de
Cc: Extern.Benjamin.Schwarzmann@?.com
Subject: [QF-Test] Size mismatch Error problem




I need to check some images with different Windows versions. The problem is, that the size of the images varies slightly for the different windows versions and I get Size mismatch Errors. Is there a possibility to ignore Size mismatch Errors or avoid them with QF Test?






Markus Arnold

Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.

Videos Downloads Documentation Buy Free Trial