|Showing open editor(s) [message #17676]
||Tue, 27 January 2009 14:25
Registered: July 2009
I have two open text editors, named TestClass1.java and TestClass2.java.
TestClass2.java is showing/active. I am executing the following two lines
and experience a WidgetNotFoundException: Could not find widget with text
If I manually set the TestClass1.java editor active, the above code will
fail on the second line. Looking at the sample code in the User's Guide
on the swtbot site as well as the API doc, it seems this straight-forward
code should be working to show/activate a given editor by name as
displayed on the tab.
Am I missing something?
Powered by FUDForum
. Page generated in 0.01957 seconds