2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012

Mailing List - Entries of 2012


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

Re: [QF-Test] Moving objects on the HMI


  • Subject: Re: [QF-Test] Moving objects on the HMI
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Sat, 01 Dec 2012 16:58:43 +0100

Hello Achmed,

while QF-Test is replaying its events it does not block the SUT event
dispatch thread so that the SUT can stay live. Otherwise event replay
and capturing images would not work for the normal case with
non-moving components.

When you replay events on the components as soft events (i.e. with the
attribute "Replay as hard event" off), are they still off the target?
Or does that happen with hard events only?

Conversely, what happens when you replay hard events? In that case
QF-Test should first move the mouse cursor to the target, then check
if the target has moved and correct the position before replaying the
event.

As for the image checks, perhaps it would be possible to check the
parent component for the sub-image, using the find parameter. But
getting that right may be tricky. 

I guess it would be best if you could send two run-logs to our
support, one showing the problem with replaying events and one the
problem with screenshots, then we'll see what can be done.

Best regards,
    Greg

MECHAAL Ahmed <ahmed.mechaal@?.com> writes:

> Hi all,
>
> I'm  currently working on an HMI containing some moving objects (very slow speed). These objects
> are recordable by QFTest so each of them has an Identifier. When I record a mouse click on one of
> them and try to replay this record, the mouse click is always a bit far from the object (close to
> it but shifted from the object). I have the same problem with the check image option. When I
> record a check image on one of these objects, the result image (shot by QFTest) is always shifted
> from the object. Thus I want to know if there is a solution to stabilize or adjust QFTest in order
> to remove these problems due to the moving aspect of the object I guess.
>
> N.B: With the motionless objects, I don't have these problems.
>
> Regards,
>
> Ahmed

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