Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Playback error
Playback error [message #116951] Fri, 02 November 2007 04:54 Go to next message
Eclipse User
Originally posted by: david_danie.yahoo.com

Hi all,
I’ve recoded an AGR test case where a PreferenceDialog is spawned from a
user action and created new pages using menu item(pop-up menu in
PreferenceDialog). Now when I run the AGR test case it opens the
PreferenceDialog then give the error message "Cannot locate menu item".

Any idea why this is happening?


org.eclipse.core.runtime.CoreException
Line 15: Cannot locate menu item: {{New}}-{{1.0}}
org.eclipse.core.runtime.CoreException: Line 15: Cannot locate menu item:
{{New}}-{{1.0}}
at
org.eclipse.tptp.test.auto.gui.internal.AutoGUIUtil.throwCor eException(AutoGUIUtil.java:616)
at
org.eclipse.tptp.test.auto.gui.internal.AutoGUIUtil.throwCor eException(AutoGUIUtil.java:608)
at
org.eclipse.tptp.test.auto.gui.internal.macro.MacroObjectLoc ator.locatePopupMenuItem(MacroObjectLocator.java:432)
at
org.eclipse.tptp.test.auto.gui.internal.macro.MacroObjectLoc ator.locateCommandTarget(MacroObjectLocator.java:92)
at
org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSele ctionCommand.playback(BooleanSelectionCommand.java:258)
at
org.eclipse.tptp.test.auto.gui.internal.commands.MacroComman dShell$4.run(MacroCommandShell.java:1160)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)



Thanks,
David
Re: Playback error [message #117329 is a reply to message #116951] Tue, 06 November 2007 12:49 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
Hi David,
The AGR cannot locate the correct menu item. For more
information on the solution, see the Widget Resolving Mechanism section in
the AGR documentation:

http://www.eclipse.org/tptp/test/documents/userguides/Intro- Auto-GUI-4-4-0.html#2.4

Paul
"David" <david_danie@yahoo.com> wrote in message
news:f003c31a62d7d07e748dd5a513b845a8$1@www.eclipse.org...
>
> Hi all, I
Previous Topic:AGR hangs while playing a recorded simple dialog spawned from ProgressMonitorDia
Next Topic:[TPTP + AGR] Recorder does not work on SLES SUSE 10
Goto Forum:
  


Current Time: Thu Oct 23 18:03:02 GMT 2014

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

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