Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » General Properties
General Properties [message #125522] Wed, 05 March 2008 10:41 Go to next message
Eclipse User
Originally posted by: ddesseignet.axway.com

Hello,

I would like to khow if it's possible to recover in a programmatically
way, the "General Properties" filled in the Location file ?

Please, can you provide me a piece of code in order to do that

getGeneralProperties(String parameterName){
...
}

Thanks.

Damien.
Re: General Properties [message #125897 is a reply to message #125522] Mon, 10 March 2008 09:02 Go to previous message
Paul Slauenwhite is currently offline Paul Slauenwhite
Messages: 970
Registered: July 2009
Senior Member
There is no API for accessing general properties from a location or
artifact. Are you interested in accessing these properties from your test
class?

Currently, the only way to do this would be to load the location EMF
resource and access the general properties. For example, see
org.eclipse.tptp.test.auto.gui.internal.runner.AutoGUIExecEn vAdapter.setupExecutionEnvironment(IExecutionEnvironment,
CFGClass, IImplementor, TPFDeployment).

Paul
"Damien" <ddesseignet@axway.com> wrote in message
news:f7314c40eb4618b97d5398f99e7560fa$1@www.eclipse.org...
> Hello,
> I would like to khow if it's possible to recover in a programmatically
> way, the "General Properties" filled in the Location file ?
>
> Please, can you provide me a piece of code in order to do that
> getGeneralProperties(String parameterName){
> ...
> }
>
> Thanks.
>
> Damien.
>
Previous Topic:http Recording
Next Topic:Verification hook problem
Goto Forum:
  


Current Time: Wed Aug 20 00:55:35 EDT 2014

Powered by FUDForum. Page generated in 0.01660 seconds