Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » AGR to test different workbench
AGR to test different workbench [message #123829] Sun, 24 February 2008 13:19 Go to next message
Eclipse UserFriend
Originally posted by: nyakar.cisco.com

Hello
I would be grateful if you could give me some help regarding a TPTP issue
I am facing for a while now. My problem is as follows:
I need AGR to test my application, which is an eclipse application, but it
only opens the REGULAR DEVELOPMENT eclipse workbench.

I defined '.deployment', '.artifact' and '.location' files that describes
the context of my application.
Those are the main '.location' file properties I configured:
------------------------------------------------------------ ---------

- 'ECLIPSE_STARTUP_PATH' = path to the equinox.launcher jar file used by
my application.
- 'eclipse location' = path to the eclipse installation my application
uses.
- 'workspace data' = the absolute path of the workspace that my
application.
- all other properties have been copied from the run dialog of my
application, besides which plugins to use, which doesn't include the
plugins defined in that run dialog (why can't I pick them from the
location file? is it important??)

I would appreciate any help given to me on that matter.
Thanks,
Nadav
Re: AGR to test different workbench [message #124113 is a reply to message #123829] Mon, 25 February 2008 12:52 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
What exactly is the problem? What do you mean by 'opens the REGULAR
DEVELOPMENT eclipse workbench'?

The AGR test suite will be ran against the Eclipse version defined in the
Overview tab of the AGR test editor. If it is a local deployment, you do
not need to create a deployment/artefact/location.

Paul
"Nadav" <nyakar@cisco.com> wrote in message
news:aa0934434db25eaedf0c92503461ccef$1@www.eclipse.org...
> Hello
> I would be grateful if you could give me some help regarding a TPTP issue
> I am facing for a while now. My problem is as follows:
> I need AGR to test my application, which is an eclipse application, but it
> only opens the REGULAR DEVELOPMENT eclipse workbench.
>
> I defined '.deployment', '.artifact' and '.location' files that describes
> the context of my application.
> Those are the main '.location' file properties I configured:
> ------------------------------------------------------------ ---------
>
> - 'ECLIPSE_STARTUP_PATH' = path to the equinox.launcher jar file used by
> my application.
> - 'eclipse location' = path to the eclipse installation my application
> uses.
> - 'workspace data' = the absolute path of the workspace that my
> application.
> - all other properties have been copied from the run dialog of my
> application, besides which plugins to use, which doesn't include the
> plugins defined in that run dialog (why can't I pick them from the
> location file? is it important??)
>
> I would appreciate any help given to me on that matter.
> Thanks,
> Nadav
>
Re: AGR to test different workbench [message #124708 is a reply to message #124113] Thu, 28 February 2008 13:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nyakar.cisco.com

Hi
I tried your solution, but the test is still being run against the
development eclipse workbench:
I defined the 'eclipse location' of the AGR test editor's Overview tab to
refer to the path of the eclipse installation my application uses.

The 'development eclipse workbench' is the type of eclipse you can edit
and compile your code in.
The meaning it that the AGR test is being run against another instance of
THAT type of eclipse, instead of running against my application.

Any idea what the reason for this might be?
Re: AGR to test different workbench [message #124828 is a reply to message #124708] Fri, 29 February 2008 12:39 Go to previous messageGo to next message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
I believe you are running in quick mode, which will always use the instance
of Eclipse you are running. Launching the AGR test suite, using the Test
launch configuration. When changing the Eclipse Location in the AGR editor,
you will need to point to the org.eclipse.equinox.launcher plugin JAR.

PS
"Nadav" <nyakar@cisco.com> wrote in message
news:b70d0be8595423742a77ef1720335648$1@www.eclipse.org...
> Hi
> I tried your solution, but the test is still being run against the
> development eclipse workbench:
> I defined the 'eclipse location' of the AGR test editor's Overview tab to
> refer to the path of the eclipse installation my application uses.
>
> The 'development eclipse workbench' is the type of eclipse you can edit
> and compile your code in.
> The meaning it that the AGR test is being run against another instance of
> THAT type of eclipse, instead of running against my application.
>
> Any idea what the reason for this might be?
>
Re: AGR to test different workbench [message #125404 is a reply to message #124828] Wed, 05 March 2008 11:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nyakar.cisco.com

Hi
I am running on regular mode, not on quick mode, and refer to the proper
deployment file from the 'run' dialog.
I do refer to the equinox launch jar file of the application from the
location file.
I am also new to eclipse based application development, so maybe the
question that should be asked here is how is it decided which eclipse
should be used for the eclipse-based-application?
Maybe I am just not refering to the equinox launcher jar file of the
eclipse the application usses.

Thanks again,
Nadav
Re: AGR to test different workbench [message #125594 is a reply to message #125404] Thu, 06 March 2008 12:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nyakar.cisco.com

Problem solved. Apperantly the issue was that the application uses the
actual eclipse workbench it is being developed on, while running it from
the code.

Many thanks
Re: AGR to test different workbench [message #125822 is a reply to message #125594] Mon, 10 March 2008 10:27 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Nadav,
The AGR uses the workbench defined as the current context in the
Overview tab of the AGR test suite editor when running the AGR test suite.
This is not consistent with the other TPTP test types that use the Eclipse
workbench defined in the workbench location.

Paul
"Nadav" <nyakar@cisco.com> wrote in message
news:a404c169704339febe78a3753f3c23a3$1@www.eclipse.org...
> Problem solved. Apperantly the issue was that the application uses the
> actual eclipse workbench it is being developed on, while running it from
> the code.
>
> Many thanks
>
Previous Topic:How to record Hyperlink with Automated GUI Recorder?
Next Topic:http Recording
Goto Forum:
  


Current Time: Thu Apr 25 09:07:47 GMT 2024

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

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

Back to the top