Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » [GUI Test] Error while running testcases with a custom perspective
[GUI Test] Error while running testcases with a custom perspective [message #84617] Fri, 29 September 2006 12:07 Go to next message
Anirudh  is currently offline Anirudh Friend
Messages: 22
Registered: July 2009
Junior Member
Hi,

I was running the GUI Recorder and instructed it to start with a
perspective that i created.
I got the following error:

org.eclipse.core.runtime.CoreException
Error while executing a macro command: MacroCommand [item-select, line 3]
org.eclipse.core.runtime.CoreException: Error while executing a macro
command: MacroCommand [item-select, line 3]
at
org.eclipse.tptp.test.auto.gui.internal.recorder.MacroComman dShell.createPlaybackException(MacroCommandShell.java:1254)
at
org.eclipse.tptp.test.auto.gui.internal.recorder.MacroComman dShell.access$11
(MacroCommandShell.java:1251)
at
org.eclipse.tptp.test.auto.gui.internal.recorder.MacroComman dShell$4.run(MacroCommandShell.java:1201)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java
:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun (Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main (Main.java:952)

Could someone let me know what this error signifies?

Thanks,
Anirudh
Re: [GUI Test] Error while running testcases with a custom perspective [message #84983 is a reply to message #84617] Fri, 06 October 2006 17:48 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Pasting the mailing list response:


The exception indicates that an item that was selected during recording
cannot be found during playback. This can happen if:

1) The item is missing (it was removed after selection)
2) The parent tree item of the referenced item is collapsed
3) The item's indices is different during playback vs. recording.

I can't tell you much else with just the exception. It will help if you
describe what the macro is suppose to do. You can post future questions on
TPTP's newsgroup.

Thanks,

Ali Mehregani

"Anirudh" <anirudh.chandrakant@gmail.com> wrote in message
news:cbe609b5ab81e1cd133a659e40ec6051$1@www.eclipse.org...
> Hi,
>
> I was running the GUI Recorder and instructed it to start with a
> perspective that i created.
> I got the following error:
>
> org.eclipse.core.runtime.CoreException
> Error while executing a macro command: MacroCommand [item-select, line 3]
> org.eclipse.core.runtime.CoreException: Error while executing a macro
> command: MacroCommand [item-select, line 3]
> at
> org.eclipse.tptp.test.auto.gui.internal.recorder.MacroComman dShell.createPlaybackException(MacroCommandShell.java:1254)
> at
> org.eclipse.tptp.test.auto.gui.internal.recorder.MacroComman dShell.access$11
> (MacroCommandShell.java:1251)
> at
> org.eclipse.tptp.test.auto.gui.internal.recorder.MacroComman dShell$4.run(MacroCommandShell.java:1201)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
> (Synchronizer.java:123)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3325)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
> (Workbench.java:419)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java
> :78)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run
> (EclipseStarter.java:400)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
> 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.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
> at org.eclipse.core.launcher.Main.basicRun (Main.java:280)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main (Main.java:952)
>
> Could someone let me know what this error signifies?
>
> Thanks,
> Anirudh
>
Previous Topic:Trying to send data to the drop-down menu
Next Topic:TPTP Core (4.2.2.v200609010912--Cq0bcpd0qDlYrq) requires plug-in "org.eclipse.emf.ecore".
Goto Forum:
  


Current Time: Fri Apr 26 23:59:52 GMT 2024

Powered by FUDForum. Page generated in 0.03389 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top