List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren


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

Re: [QF-Test] Issue with Jlist item


  • Subject: Re: [QF-Test] Issue with Jlist item
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Tue, 28 Nov 2017 18:04:57 +0100
  • Delivered-to: qftest-list@?.net

Hello Cédric,

the list item is not a real component but drawn by a Renderer, so
QF-Test doesn't see the checkbox as such but only as a bunch of
pixels.

However, you'll probably just need to modify the X coordinate of the
mouse click. Without coordinates - the default - QF-Test targets the
middle of the item. Try an X value of 10 or 15 and temporarily activate
'Replay as hard event' to see where QF-Test moves the mouse. When
you're satisfied that the click is well within the checkbox,
deactivate the hard event again and verify that it still works.

Best regards,
    Greg

BENHAROUS Cedric <cedric.benharous@?.com> writes:

> Hi all,
>
> I have a complex JList of component containing a checkbox, label and an icon, as follow:
>
> cid:image002.png@?.42C037F0          
>
> As I record events to check and uncheck the box I get: “Mouseclick filter.list@World” but the replay does not replay
> events as recorded : the state of checkbox does not change.
>
> Have you encountered similar GUI architecture ? If so, how did you work around this issue ?
>
> Cheers,
>
> Cédric
>
> [@@ THALES GROUP INTERNAL @@]

-- 
Gregor Schmid

E: gregor.schmid@?.de
T: +49 8171 38648-11
F: +49 8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833