Hi,
We are trying to record tests for a standalone SWT/swing application.
While recording the application is launched and we tried to record a browse button which opens a Open file dialog to select the file.
As soon as the browse button is clicked,Open dialog appears.The application hangs up there and i get following exception in the recording console.
com.windowtester.swing.recorder.RecordingFailedException: recording.error
at abbot.editor.recorder.EventRecorder.saveSemanticEvent(EventRecorder.java:457)
at abbot.editor.recorder.EventRecorder.recordEvent(EventRecorder.java:534)
at abbot.editor.recorder.Recorder.record(Recorder.java:76)
at com.windowtester.swing.event.recorder.SwingGuiTestRecorder.startRecordingEvent(SwingGuiTestRecorder.java:159)
at com.windowtester.swing.event.recorder.SwingGuiTestRecorder$1.processEvent(SwingGuiTestRecorder.java:137)
at abbot.util.SingleThreadedEventListener.eventDispatched(SingleThreadedEventListener.java:55)
at abbot.util.EventNormalizer.delegate(EventNormalizer.java:220)
at abbot.util.EventNormalizer.eventDispatched(EventNormalizer.java:227)
at abbot.util.WeakAWTEventListener.eventDispatched(WeakAWTEventListener.java:30)
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at javax.swing.JFileChooser.showDialog(Unknown Source)
at javax.swing.JFileChooser.showOpenDialog(Unknown Source)
at org.pentaho.ui.xul.swing.tags.SwingFileDialog.showOpen(SwingFileDialog.java:86)
at org.pentaho.ui.xul.swing.tags.SwingFileDialog.showOpenDialog(SwingFileDialog.java:64)
at org.pentaho.aggdes.ui.ext.impl.MondrianFileSchemaProvider.chooseFile(MondrianFileSchemaProvider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:293)
at org.pentaho.ui.xul.swing.tags.SwingButton$1$1.run(SwingButton.java:80)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:213)
at org.pentaho.aggdes.ui.form.controller.ConnectionController.showConnectionDialog(ConnectionController.java:296)
at org.pentaho.aggdes.ui.form.controller.ConnectionController$3.run(ConnectionController.java:207)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Could you please let me know what is the issue here?