We are in the process of searching a good UI testing tool for Eclipse RCP software.
We are testing Window Tester and should decide in 1 day - whether we will buy it or not.
But we meet a problem with test code, that WT generates. And cannot really test anything at all because of it.
The problem:
We have just recorded a small scenario, but when we save the result test the java project in unable to resolve one of the classes that is in the test code.
- Code: Select all
ui.wait(new ShellShowingCondition("Configuration Wizard"));
ui.click(new SWTWidgetLocator(Text.class, new LabeledLocator(
LayoutComposite.class, "Name:")));
ui.enterText("d1");
The generated code contains link to class org.eclipse.ui.forms.widgets.LayoutComposite which has default visibility.
That's why test code cannot be compiled.
The questions are:
Why it happens? Is it a known bug? Or what?....
Maybe we did something wrong?
How we can fix this due to be able to test WT and make a decision.
We also found that not only we met this problem:
http://www.instantiations.com/forum/viewtopic.php?f=5&t=1918&p=6953&hilit=LayoutComposite#p6953
Some info:
We are using Eclipse 3.5 as a target platform for our software.
Product name: Window Tester
Version: 3.9.1
OS Name/Version: Windows XP
Priority: Critical
Eclipse Log Attached: No
We are really looking forward to your answer.
Thank you beforehand,
Natalia