List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous
abonner à la newsletter 

our obtenir des informations à jour sur chaque version - y compris les versions mineures - vous pouvez
nous pouvez vous abonner au flux RSS ou nous suivre sur les médias sociaux.
Alternativement, QF-Test fournit également des informations sur la version elle-même.

Une autre source d'information est notre blog, qui contient des articles actuels sur des thèmes généraux, sur l'entreprise QFS et aussi divers "how-tos", veuillez vous
ABonner au Blog


[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