Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Most of the widgets are identified as canvas instead of table(canvas objects)
Most of the widgets are identified as canvas instead of table [message #783137] Wed, 25 January 2012 06:14 Go to next message
Ramesh D is currently offline Ramesh DFriend
Messages: 17
Registered: January 2012
Junior Member
Hi,

I am new to SWTBOT needed a help to automate the application for functional tests. Most of the widgets on my application when viewed from eclipse spy returns the widget as canvas. Below is an example. although i see that the parent object is an SWTTable. Can i operate on the the table? or is there any other way to edit this canvas.

I am also attaching the snapshot of the application for reference.

Any help on this will be very useful for me to go ahead with tests with swtbot.

//Shell/-1//Composite/4//Composite/0//Composite/10//Composite/3//Composite/0//InfaCTabFolder/0//Form/0//LayoutComposite/1//Section/1//LayoutComposite/1//SWTTable/1//Canvas/0
Re: Most of the widgets are identified as canvas instead of table [message #783347 is a reply to message #783137] Wed, 25 January 2012 15:02 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

On 25/01/2012 07:14, Ramesh D wrote:
> Can i operate on the the table?

If you have a SWTBotTable tableBot, you can operate with the underlying
Table widget using tableBot.widget. It may require you to run your
operations in a UIThread.

HTH
--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Previous Topic:GEF Editor within Section of FormPage
Next Topic:SWTBot GEF element with compartiment
Goto Forum:
  


Current Time: Thu Apr 25 01:23:40 GMT 2024

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

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

Back to the top