Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Testing an Eclipse plugin with AGR
Testing an Eclipse plugin with AGR [message #81441] Tue, 22 August 2006 23:08 Go to next message
Martin Sooriam is currently offline Martin SooriamFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

I am trying to use AGR to test out several Eclipse plugin that we are
developing. What we want to do is to be able to give the packaged
Eclipse application to the testing team and be able to have them write
tests to test the GUI. I've been following the documentation, but its
very confusing, discussing items without giving much explanation. The
example given uses the Eclipse IDE to create a new Java project, and I
got it working that far, but now I need to get it to test our real
application. I managed to get our application to launch once by
specifying the startup.jar file when playing back the testcase, but if I
try to record, its still launching the IDE. It would be very helpful if
there was an external HelloWorld application that is used to test as
that would be what most testers be doing. Has any one else been able to
get this to test an external Eclipse based app? Can you please give
some pointers.

Thanks
Mahesh
Re: Testing an Eclipse plugin with AGR [message #81459 is a reply to message #81441] Wed, 23 August 2006 09:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dequeker.gmail.com

Hi Mahesh,

I don't think AGR can record on an external eclipse app.
Your plugin and the AGR ones need to be in the same eclipse
installation, So you need to either copy your plugins files and folders
into the AGR installation, or the other way round, install AGR on top of
your application.

Note, My only experience is testing an RCP application this way, so
maybe there is an easier way with full eclipse external apps...

Bevan
Re: Testing an Eclipse plugin with AGR [message #81518 is a reply to message #81459] Wed, 23 August 2006 13:49 Go to previous messageGo to next message
Martin Sooriam is currently offline Martin SooriamFriend
Messages: 24
Registered: July 2009
Junior Member
Hi Bevan,

Thanks for the quick reply. If this is the case, its only going to be a
developer only solution. The QA guys needs to test our daily build of
the GUI, from the view point of a user. If its possible to at least
import a set of plugins into a TPTP project and run it using ant, that
would be helpful. I'm going to give that a try. If this is not going
to support it, I guess we can use it from the developers point of view
and have the QA guys use SilkTest. The problem with SilkTest is that it
dosent assign user friendly ids for the GUI components, so when we
change something, the whole QA setup needs to be changed. This is not a
good set up when we have daily builds.

Thanks
Mahesh

Bevan DeQueker wrote:
> Hi Mahesh,
>
> I don't think AGR can record on an external eclipse app.
> Your plugin and the AGR ones need to be in the same eclipse
> installation, So you need to either copy your plugins files and folders
> into the AGR installation, or the other way round, install AGR on top of
> your application.
>
> Note, My only experience is testing an RCP application this way, so
> maybe there is an easier way with full eclipse external apps...
>
> Bevan
Re: Testing an Eclipse plugin with AGR [message #81533 is a reply to message #81441] Wed, 23 August 2006 13:55 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Mahesh,

As Bevan pointed out, you'll need to have your plug-ins included as part of
the Eclipse workbench you use for running AGR.

Thanks.

"Mahesh Sooriarachchi" <msoori@hotmail.com> wrote in message
news:ecg2p3$uib$1@utils.eclipse.org...
> Hi,
>
> I am trying to use AGR to test out several Eclipse plugin that we are
> developing. What we want to do is to be able to give the packaged
> Eclipse application to the testing team and be able to have them write
> tests to test the GUI. I've been following the documentation, but its
> very confusing, discussing items without giving much explanation. The
> example given uses the Eclipse IDE to create a new Java project, and I
> got it working that far, but now I need to get it to test our real
> application. I managed to get our application to launch once by
> specifying the startup.jar file when playing back the testcase, but if I
> try to record, its still launching the IDE. It would be very helpful if
> there was an external HelloWorld application that is used to test as
> that would be what most testers be doing. Has any one else been able to
> get this to test an external Eclipse based app? Can you please give
> some pointers.
>
> Thanks
> Mahesh
Re: Testing an Eclipse plugin with AGR [message #81561 is a reply to message #81459] Wed, 23 August 2006 16:57 Go to previous messageGo to next message
Martin Sooriam is currently offline Martin SooriamFriend
Messages: 24
Registered: July 2009
Junior Member
Bewan,

If I were to install AGR on top of my application, how would I create
the tests? Dont you have to create a testing project that contains the
test cases? Can you please elaborate a bit on how to do this if possible?

If I have to go the other way around, i.e. copying my plugins to the AGR
worksoace, that would be ok too, but I would prefer to copy AGR to my
application.

Thanks
Mahesh

Bevan DeQueker wrote:
> Hi Mahesh,
>
> I don't think AGR can record on an external eclipse app.
> Your plugin and the AGR ones need to be in the same eclipse
> installation, So you need to either copy your plugins files and folders
> into the AGR installation, or the other way round, install AGR on top of
> your application.
>
> Note, My only experience is testing an RCP application this way, so
> maybe there is an easier way with full eclipse external apps...
>
> Bevan
Re: Testing an Eclipse plugin with AGR [message #81665 is a reply to message #81561] Thu, 24 August 2006 15:06 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
To be able to install AGR on top of your application, you'll need the
following TPTP downloads:
1) Platform sub-project
2) Test sub-project
3) AGR plug-in
4) Eclipse Modeling Framework

Make sure that the version of TPTP you select is compatible with the Eclipse
version that your application uses. For example, if your application runs
on Eclipse 3.2, then use TPTP 4.2.

Creating a test suite would exactly be the same as what is described in the
user guide.

Thanks.

"Mahesh Sooriarachchi" <msoori@hotmail.com> wrote in message
news:eci1d5$sil$1@utils.eclipse.org...
> Bewan,
>
> If I were to install AGR on top of my application, how would I create
> the tests? Dont you have to create a testing project that contains the
> test cases? Can you please elaborate a bit on how to do this if possible?
>
> If I have to go the other way around, i.e. copying my plugins to the AGR
> worksoace, that would be ok too, but I would prefer to copy AGR to my
> application.
>
> Thanks
> Mahesh
>
> Bevan DeQueker wrote:
> > Hi Mahesh,
> >
> > I don't think AGR can record on an external eclipse app.
> > Your plugin and the AGR ones need to be in the same eclipse
> > installation, So you need to either copy your plugins files and folders
> > into the AGR installation, or the other way round, install AGR on top of
> > your application.
> >
> > Note, My only experience is testing an RCP application this way, so
> > maybe there is an easier way with full eclipse external apps...
> >
> > Bevan
Previous Topic:TPTP Problems....Please help?
Next Topic:Trouble Testing plugins
Goto Forum:
  


Current Time: Thu Apr 18 23:09:19 GMT 2024

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

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

Back to the top