Mailing list - Entries of 2005


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

Re: [qftestJUI] JTabbedPane Issue


  • Subject: Re: [qftestJUI] JTabbedPane Issue
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Mon, 13 Jun 2005 15:52:01 -0000

Hi all,

as it turns out, qftestJUI treats tabs in a JTabbedPane differently
depending on whether they are displayed in a single, scrollable row or
stacked in multiple rows.

Very subtle... We're looking into it.

Best regards,
    Greg

"Moser, Martin (Bbn)" <mmoser@?.com> writes:

>    Hi all,
>
>    I detected an interesting behaviour during implementing my tests.
>
>    The SUT has an unnamed JTabbedPane. I implemented a
>    ComponentNameResolver to set a component name.
>    But if the name is set, the Tabs of the JTabbedPane won't get
>    recognized by my tests. The click on "JTabbedPaneElementName@TabText"
>    does not work anymore. It even selects wrong Tabs.
>
>    If no name is set, the detection of the Tabs works again. So in that
>    case the click on "JTabbedPaneElementIDFromQFS@TabText" works.
>
>    Does the name really have an influence on that behaviour?
>
>    I know in any case it would be better to implement an
>    ItemNameResolver, but this behaviour makes me really curious about the
>    reason.
>
>    Thanks in advance!
>
>    Regards,
>    Martin

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876


Videos Downloads Documentation Buy Free Trial