Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » checkbox in Preferences dialog not worked with AGR
checkbox in Preferences dialog not worked with AGR [message #62675] Thu, 30 March 2006 09:08 Go to next message
Eclipse User
Originally posted by: vladimir.au.ru

I've found another problems with GUI recorder. I try to create the
following script:
- open preferences window (window->preferences)
- open java->compiler tab
- uncheck "Use default compliance settings"

I've recorded this scenario successfully and try to play it using "Quick
Run" button, but it failed with next exception:

There was an error while running the macro associated with the test case:
ModifyDefaultOptions. org.eclipse.core.runtime.CoreException: Line 13:
Cannot locate shell control:
org.eclipse.swt.widgets.Button#{{org.eclipse.jdt.internal.ui .preferences.OptionsConfigurationBlock$ControlData@1f6dbf5}}-{{1.0}}

Do you have any thoughts about it?

Thanks,
Vladimir.
Re: checkbox in Preferences dialog not worked with AGR [message #63313 is a reply to message #62675] Sat, 01 April 2006 11:44 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
I didn't have problems recording and playing back your scenario. Looking at
your button's id, it looks like you have registered buttons with a bad
property:
org.eclipse.jdt.internal.ui.preferences.OptionsConfiguration Block$ControlDat
a@1f6dbf5

This is an object. The last part of it is the memory location of the
object, which will be different in each quick run session.




"Vladimir" <vladimir@au.ru> wrote in message
news:171a39087a4742a5dbd051b6e8a436db$1@www.eclipse.org...
> I've found another problems with GUI recorder. I try to create the
> following script:
> - open preferences window (window->preferences)
> - open java->compiler tab
> - uncheck "Use default compliance settings"
>
> I've recorded this scenario successfully and try to play it using "Quick
> Run" button, but it failed with next exception:
>
> There was an error while running the macro associated with the test case:
> ModifyDefaultOptions. org.eclipse.core.runtime.CoreException: Line 13:
> Cannot locate shell control:
>
org.eclipse.swt.widgets.Button#{{org.eclipse.jdt.internal.ui .preferences.Opt
ionsConfigurationBlock$ControlData@1f6dbf5}}-{{1.0}}
>
> Do you have any thoughts about it?
>
> Thanks,
> Vladimir.
>
Previous Topic:AGR incorrectly records non-UI (programmatic) action and playback fails
Next Topic:Runtime options for AGR
Goto Forum:
  


Current Time: Tue Jul 29 00:52:37 EDT 2014

Powered by FUDForum. Page generated in 0.01557 seconds