Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Multiviews
Multiviews [message #543160] Mon, 28 June 2010 15:06
Vis  is currently offline Vis Friend
Messages: 1
Registered: June 2010
Junior Member
I'm a newbie to SWTBot. Trying to use it for testing an Eclipse Application.

The application basically has got a tree view and content viewer(a view containg 2 pages). When the user selects and Item in the tree viewer, relevant information is dispalyed in the content viewer. The content viewer is a multiview page which has two tabbed pages.

I'm able get a handle to active view by

SWTBotView exampleView = workbenchBot.activeView();
final IViewPart viewPart = view.getViewReference().getView(true);
Assert.assertTrue(viewPart instanceof MyMultiPageview);

So far so good..
Now, I'm trying to find a way to assert that the content viewer(opened when clicked on the tree item) has infact 2 tabbed pages.

Any help reagrding this will be very much appreciated

Thanks in advance,
Previous Topic:SWTBOT RCP 3.12
Next Topic:SWTBOT record and playback
Goto Forum:

Current Time: Mon Dec 06 21:38:01 GMT 2021

Powered by FUDForum. Page generated in 0.02290 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top