I could not find a widget by label today. Previously it found the widget by
label. But the development team changed the implementation from
final Label functionalGroupLabel = new Label(selectTeardownGroup, SWT.NONE);
to:
final Composite funGpCom = new Composite(selectTeardownGroup, SWT.NONE);
funGpCom.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));
funGpCom.setLayout(new GridLayout());
final Label functionalGroupLabel = new Label(funGpCom, SWT.NONE);
Could it be that this is the reason why SWTBot sometimes does not find widgets
by label?
The other labels where I cannot find the widget for it are similiar implemented.
Does this give you a clue and if yes, can you please fix it?
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse