Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How to test NatTable using swtbot?(How to test natTable automatically)
How to test NatTable using swtbot? [message #1412042] Mon, 25 August 2014 06:33 Go to next message
Eclipse GuestFriend
Messages: 93
Registered: February 2013
Location: Vienna
I am a automation tester using SWTBot as our test tool. Now there is a natTable in our product. You can see it in attached pic.

the function for this table is:
1. Click the add button, you can add row in the natTable.
2. We update the Name Type, and Value column value.
3. We can also add another column "ff", see attached pic NatTable2.pic

Can you give me some example code to test this NatTable?
  • Attachment: NatTable.PNG
    (Size: 70.72KB, Downloaded 341 times)
  • Attachment: NatTable2.PNG
    (Size: 135.63KB, Downloaded 287 times)
Re: How to test NatTable using swtbot? [message #1412109 is a reply to message #1412042] Mon, 25 August 2014 10:01 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Thye Nattable widget seems to be a "root" widget (extending directly
Canvas, not a SWT Widget, Table or something else), so there is no
method to deal with it in SWTBot.

Apparently, there have been some initiatives to integrate NatTable and
But they're not part of SWTBot per se, although I guess the SWTBot
project would happily welcome it as an extension (similarly to how the
SWTBot for Nebula gallery was added).

Did you also ask on NatTable forum? You may get some more details there.
Mickael Istria
My job:
My blog:
My Tweets:
Previous Topic:metacity sometimes makes SWTBot tests fail in Jenkins
Next Topic:wait until some condition
Goto Forum:

Current Time: Mon Feb 26 17:28:39 GMT 2024

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

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

Back to the top