2019 jusqu'à présent |  2018  2017 | 2016 | 2015 | 2014 | 2013 | 2012

Liste de diffusion - Entrées de 2012

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

Re: [QF-Test] Mouse Events without coordinates

  • Subject: Re: [QF-Test] Mouse Events without coordinates
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Tue, 17 Jan 2012 17:10:20 +0100

Hi Fernanda,

in addition to Klaus-Peter Berg's reply: You cannot simply remove the
coordinates from all mouse events. There are cases where coordinates
are important. For example, when clicking into a non-empty text-field
the coordinates determine where the cursor is placed. Graphical
components also often need coordinates.

QF-Test tries to ignore coordinates where possible. Earlier QF-Test versions
used to record 1,1, but on replay that is now equivalent to no
coordinates, so there's no need to replace those. If you want to, you
can of course do so via the search and replace dialog as follows:

Search for all nodes with attribute X == 1. Bring up the result dialog
and mark all hits with a blue mark.

Search again for attribute Y == 1 and limit the search to nodes with a
blue mark. Again bring up the result dialog and this time mark all
nodes with the red mark.

Now you can use the replace dialog to replace 1 with the empty string
in attributes X and Y in all nodes with a red mark.

Best regards,

Fernanda Rafaeli <fernanda.rafaeli@?.com> writes:

> Hi,
> How we can remove the recorded coordinates for mouse events?
> We have many scripts recorded with fixed coordinates for mouse events.
> Tks,

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