SwingLibrary - How to select a JTabbedPane ?

128 views
Skip to first unread message

Stefan Lecho

unread,
Mar 6, 2013, 9:00:12 AM3/6/13
to robotframe...@googlegroups.com
I'm trying to select a JTabbedPane, which accoring to the SwingLibrary doc should be possible: "Allowed contexts are windows, dialogs, internal frames, and tabbed panes.".

However, when I use "Select Context    tbpInterestedParties", I'm getting the following error: "Invalid context javax.swing.JTabbedPane. Should be one of (java.awt.Window javax.swing.JPanel java.awt.Panel javax.swing.JInternalFrame )".

How can I select a JTabbedPane with the SwingLibrary ?

PS: I'm using SwingLibrary v1.5.3 in combination with robot-maven-plugin v1.0.8.

Florian Heine

unread,
Mar 7, 2013, 2:50:07 AM3/7/13
to robotframe...@googlegroups.com
Stefan,

There are specific keywords for selecting tabbed panes:

Select Tab As Context
Select Tab Pane


I have used these successfully for selecting tabs in tabbed panes. Have you tried these?

Florian

Stefan Lecho

unread,
Mar 7, 2013, 8:13:12 AM3/7/13
to robotframe...@googlegroups.com
Thanks for the tip Florian. I've tried it and it works :)
Reply all
Reply to author
Forward
0 new messages