Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » About testing the TabbedProperty View using SWTBot(SWTBot, Eclipse TabbedProperty View)
About testing the TabbedProperty View using SWTBot [message #502237] Mon, 07 December 2009 11:19 Go to next message
intothephone intothephone is currently offline intothephone intothephoneFriend
Messages: 14
Registered: July 2009
Junior Member
The tabbed properties view has two main parts:
1. left composite, it is some canvas, TabbedPropertyListElement
2. tab composite, it is created using extensions, sections, etc.

Just found that textWithLabel not work on the tabbed properties view. I guess that is because the composite layer is not consistent for the label control and text control.

And using text(index) will get wrong control, don't know the reason... How to test this view? Any suggestion is welcome, thanks!
Re: About testing the TabbedProperty View using SWTBot [message #502462 is a reply to message #502237] Tue, 08 December 2009 11:49 Go to previous messageGo to next message
Jie Xiao is currently offline Jie XiaoFriend
Messages: 11
Registered: July 2009
Junior Member
hallo,

could you try to use Label(index), not Text(index)?
I think, whether can the control be found or not, depends on which Widgets are used in SWT.
Re: About testing the TabbedProperty View using SWTBot [message #502610 is a reply to message #502462] Wed, 09 December 2009 06:24 Go to previous message
intothephone intothephone is currently offline intothephone intothephoneFriend
Messages: 14
Registered: July 2009
Junior Member
Thanks for replying! I can get right Text now by using Text(index).
But the textwithlabel can't work...
Previous Topic:Testing RCP application with Ant
Next Topic:How build the RCP with SWTBot headless automatically
Goto Forum:
  


Current Time: Tue Apr 16 16:11:40 GMT 2024

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

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

Back to the top