Hi! My name is nicolas Grossi and i'm evaluting the use of windows tester to automate some of ours test Cases. I'm working on Bea, and we are traying to use windows tester on our product (ALBPM).
I'm getting this exception trying to run the following test:
EclipseWorkbench.createEditor(class fuego.designer.organization.ParticipantPanel, NicoPartnicoPart7)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~) EclipseWorkbench.openEditor
Esto es la prueba 1
Exception in thread "Common Core UI Background Startup" java.lang.NoClassDefFoundError: com/instantiations/common/ui/dialog/PlatformCompatibilityDialog
at com.instantiations.common.ui.CommonUIPlugin$1.run(CommonUIPlugin.java:60)
the source code is:
package com.bea.qa.albpm.studio.organization;
import junit.extensions.UITestCase;
import com.windowtester.swt.IUIContext;
import com.windowtester.swt.WidgetLocator;
import com.windowtester.swt.locator.eclipse.ViewLocator;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.Control;
import com.
public class newPartTest1 extends UITestCase {
/**
* Main test method.
*/
public void testMain() throws Exception {
System.out.println("estamos empezando el test");
IUIContext ui = getUIContext();
ui.click("tree", "Unnamed7/Organization/Participants");
ui.contextClick("tree", "Unnamed7/Organization/Participants", "New");
ui.waitForShellShowing("Name");
ui.enterText("NicoPartnicoPart7");
ui.click("OK.button");
ui.waitForShellDisposed("Name");
System.out.println("Esto es la prueba 1");
ui.find("NicoPartnicoPart7").toString();
//assertAddNewParticipant();
ui.click("tree", "Unnamed7/Organization/Participants/nicoPart");
ui.close("ALBPM - nicoPart - ALBPM Studio.shell");
ui.waitForShellShowing("Confirm Exit");
ui.click("OK.button");
ui.waitForShellDisposed("Confirm Exit");
ui.waitForShellDisposed("ALBPM Studio");
}
/* Register widgets.
*/
protected void registerWidgetInfo() {
IUIContext ui = getUIContext();
ui.register("ALBPM - nicoPart - ALBPM Studio.shell", new WidgetLocator(
Shell.class, "ALBPM - nicoPart - ALBPM Studio"));
ui.register("OK.button", new WidgetLocator(Button.class, "OK"));
ui.register("tree", new WidgetLocator(Tree.class, new ViewLocator(
"fuego.eclipse.studio.views.ProjectNavigatorView")));
}
}
My enviroment is:
eclipse sdk 3.2.1
RCP developer : RCPDeveloper_v2.0.0_win32_x86.exe
does anybody knows where can i find the missing package?
The FAQ's section has the common.ui package, but in my instalation, common package is missing..
Thanks in advance,
Nicolas Grossi