[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tptp] Re: Problem with AGR

Hi Goal,
    This error means that the AGR cannot find the recorded widget during 
playback.  Did you record in object-based or positional mode?  If 
positional, try the object-base mode.  Also, there are limitations in the 
widgets that the AGR can record/playback so try opening the perspective from 
the file menu.

Paul
"Gopal " <gopal.pagrut@xxxxxxxxxxx> wrote in message 
news:e43051d7241af8220dbb141cede86afe$1@xxxxxxxxxxxxxxxxxx
> Hi all,
>
> I am using AGR for Testing(Record/Playback)my eclipse application.
>
> I am able to record all activity of my application using AGR but when i 
> play back them, most of the time it throws the following error:
>
> (Suppose i recorded Open perspective option from the tool bar to switch 
> the perspective and when i am playing back this XML script, always throws 
> the following error)
> java.lang.reflect.InvocationTargetException
> null
> org.eclipse.core.runtime.CoreException: Line 3: Cannot locate menu item: 
> {{Other...}}-{{1.0}}
>  at 
> org.eclipse.tptp.test.auto.gui.internal.AutoGUIUtil.throwCoreException(AutoGUIUtil.java:616)
>  at 
> org.eclipse.tptp.test.auto.gui.internal.AutoGUIUtil.throwCoreException(AutoGUIUtil.java:608)
>  at 
> org.eclipse.tptp.test.auto.gui.internal.macro.MacroObjectLocator.locatePopupMenuItem(MacroObjectLocator.java:438)
>  at 
> org.eclipse.tptp.test.auto.gui.internal.macro.MacroObjectLocator.locateCommandTarget(MacroObjectLocator.java:95)
>  at 
> org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSelectionCommand.playback(BooleanSelectionCommand.java:258)
>  at 
> org.eclipse.tptp.test.auto.gui.internal.commands.MacroCommandShell$4.run(MacroCommandShell.java:1215)
>  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:3855)
>  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
>  at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
>  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
>  at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
>  at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
>  at 
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>  at 
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
>  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>  at 
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
>  at 
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
>  at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>  at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>  at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
>  at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>  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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
>  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>  at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>
>
>
> Not only in above case but also in some other cases this error is coming.
> Can anybody suggest me why this error is coming?
> How can i rectify this error?
>
> Regards
> Gopal
>
>