Mailingliste - Einträge 2005


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

[qftestJUI] JTabbedPane Issue


  • Subject: [qftestJUI] JTabbedPane Issue
  • From: "Moser, Martin (Bbn)" <mmoser@?.com>
  • Date: Thu, 9 Jun 2005 18:10:30 +0200

Title: JTabbedPane Issue

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