Mailingliste - Einträge 2017
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] Issue with Jlist item
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
|