Skip to main content



      Home
Home » Eclipse Projects » SWTBot » How to work on TableViewer in Swtbot
How to work on TableViewer in Swtbot [message #1524228] Tue, 23 December 2014 04:51 Go to next message
Eclipse UserFriend
Hi All,

In my RCP application i have one TabItem inside View. And when we click on tabItem one TableViewer is getting open with some data.

I am trying to get the table viewer but it is not supported by SWTbot it seems.

I have used matchers also shown below but it is showing Bound Mismatch error.

List<TableViewer> findControls = viewByTitle.bot().getFinder().findControls(
WidgetMatcherFactory.widgetOfType(TableViewer.class));

I am stucked here.

Please help me by giving solution. Thank you in advance. I have attached screenshot of table viewer.
  • Attachment: Untitled.png
    (Size: 11.41KB, Downloaded 280 times)
Re: How to work on TableViewer in Swtbot [message #1525753 is a reply to message #1524228] Wed, 24 December 2014 01:22 Go to previous messageGo to next message
Eclipse UserFriend
any reply plssss
Re: How to work on TableViewer in Swtbot [message #1547300 is a reply to message #1525753] Mon, 05 January 2015 05:45 Go to previous messageGo to next message
Eclipse UserFriend
SWTBot interacts with the SWT layer. TableViewer is a JFace MVC
construct on top of a SWT Table. So you can simply use a SWTBotTable and
bot.table().

HTH
Re: How to work on TableViewer in Swtbot [message #1559968 is a reply to message #1547300] Mon, 12 January 2015 05:03 Go to previous message
Eclipse UserFriend
Hi Mickael
Thank you for the reply. But I am not getting Table using bot().Table;

I have tried using matchers too but it dint helped me out.
Previous Topic:select 2 nodes of tree SWTbot
Next Topic:Problems Description too short
Goto Forum:
  


Current Time: Fri May 23 05:50:48 EDT 2025

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

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

Back to the top