Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » IS there any example to extend AGR's record and replay function?
IS there any example to extend AGR's record and replay function? [message #87884] Sat, 18 November 2006 02:35 Go to next message
Eclipse User
Originally posted by: feng-bing.xu.verigy.com

hi all,
our project plans to use tptp agr to test eclipse ui using KTable
(ktable.sourceforge.net/).
IS there any example for doing such things?
Re: IS there any example to extend AGR's record and replay function? [message #88251 is a reply to message #87884] Tue, 21 November 2006 17:26 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
There is no documentation available for extending AGR to support custom
widgets; however there are a lot of internal comments embedded in the source
files that should allow you to figure how things work. This should at least
get you started:





- The auto GUI plug-in is stored in TPTP's CVS:
test/org.eclipse.tptp.test.auto.gui
- Each of the command fragments included in a macro corresponds to one or
more class files under the following package:
org.eclipse.tptp.test.auto.gui.internal.commands
- A shell, which groups a set of commands is represented by
MacroCommandShell.
- MacroCommandShell uses SWT events to generate the appropriate command
(i.e. instantiate the right class). See
MacroCommandShell.createCommand(Event)


Assuming that a KTable generates appropriate set of SWT events, then you can
create a command class that is able to programmatically modify its cells (or
perform other operations).


Thanks,
Ali Mehregani



"Ben.xu" <feng-bing.xu@verigy.com> wrote in message
news:0568aa427fade57ae0eb792426815bf0$1@www.eclipse.org...
> hi all,
> our project plans to use tptp agr to test eclipse ui using KTable
> (ktable.sourceforge.net/). IS there any example for doing such things?
>
Previous Topic:[AGR] NoClassDefFoundError while running test
Next Topic:[AGR] Menu item problems (posting on behalf of user)
Goto Forum:
  


Current Time: Wed Oct 22 12:16:41 GMT 2014

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

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