Skip to main content



      Home
Home » Archived » 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] Fri, 17 November 2006 21:35 Go to next message
Eclipse UserFriend
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 12:26 Go to previous message
Eclipse UserFriend
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 Jun 18 15:51:47 EDT 2025

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

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

Back to the top