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 01:14 Go to next message
Ramesh D is currently offline Ramesh D
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 10:02 Go to previous message
Mickael Istria is currently offline Mickael Istria
Messages: 741
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: Sat Aug 23 11:32:36 EDT 2014

Powered by FUDForum. Page generated in 0.03434 seconds