Hi,
Im using Mac 10.6, eclipse 3.6 and have installed latest WindowTester using update site:-
http://dl.google.com/eclipse/inst/windo ... latest/3.6
Earlier I was using Mac 10.5 and eclipse 3.5 with WT 3.9.0. This was working fine.
Now since our product uses eclipse 3.6, we decided to use that setup.
It launches fine, but throws the following exception (SWTOperationStepException) while trying to enter a value in first UI in a text box:
com.windowtester.runtime.WaitTimedOutException: Max retry period (30000 milliseconds) exceeded.
at com.windowtester.runtime.swt.internal.operation.SWTOperation.execute(SWTOperation.java:118)
at com.windowtester.runtime.swt.internal.operation.SWTKeyOperation.execute(SWTKeyOperation.java:265)
at com.windowtester.runtime.swt.internal.text.SWTOperationTextEntryStrategy.enterText(SWTOperationTextEntryStrategy.java:15)
at com.windowtester.runtime.swt.internal.UIContextSWT.enterText(UIContextSWT.java:389)
at com.adobe.ide.autotest.dcd.WTFramework.WTFlexProject.createProject(WTFlexProject.java:60)
at com.adobe.ide.autotest.dcd.XMLReader.testReadXMLFile(XMLReader.java:1530)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at com.windowtester.runtime.common.UITestCaseCommon.access$0(UITestCaseCommon.java:1)
at com.windowtester.runtime.common.UITestCaseCommon$2.run(UITestCaseCommon.java:130)
at com.windowtester.runtime.common.UITestCaseCommon$3.run(UITestCaseCommon.java:151)
at com.windowtester.internal.runtime.junit.core.SequenceRunner$1.run(SequenceRunner.java:40)
Caused by: com.windowtester.runtime.swt.internal.operation.SWTOperationStepException: Failed to post OS event: Event {type=1 null time=0 data=null x=0 y=0 width=0 height=0 detail=0}
at com.windowtester.runtime.swt.internal.operation.SWTOperation$3.executeInUI(SWTOperation.java:318)
at com.windowtester.runtime.swt.internal.operation.SWTOperation.executeInUI(SWTOperation.java:184)
at com.windowtester.runtime.swt.internal.operation.SWTOperation$1.call(SWTOperation.java:67)
at com.windowtester.runtime.swt.internal.operation.SWTOperation$1.call(SWTOperation.java:1)
at com.windowtester.runtime.swt.internal.widgets.SWTUIExecutor.execute(SWTUIExecutor.java:132)
at com.windowtester.runtime.swt.internal.widgets.SWTUIExecutor.access$0(SWTUIExecutor.java:130)
at com.windowtester.runtime.swt.internal.widgets.SWTUIExecutor$1.run(SWTUIExecutor.java:91)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3586)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3279)
at com.windowtester.runtime.swt.internal.junit.SWTExecutionMonitor.doWaitForFinish(SWTExecutionMonitor.java:151)
at com.windowtester.internal.runtime.junit.core.AbstractExecutionMonitor.waitUntilFinished(AbstractExecutionMonitor.java:205)
at com.windowtester.internal.runtime.junit.core.SequenceRunner.waitUntilFinished(SequenceRunner.java:69)
at com.windowtester.internal.runtime.junit.core.SequenceRunner.exec(SequenceRunner.java:53)
at com.windowtester.runtime.common.UITestCaseCommon.runUITest(UITestCaseCommon.java:147)
at com.windowtester.runtime.common.UITestCaseCommon.runBare(UITestCaseCommon.java:128)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)
at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:116)
I would really appreciate any help.
Regards
Saurabh