Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » General Properties
General Properties [message #125522] Wed, 05 March 2008 15:41 Go to next message
Eclipse UserFriend
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 13:02 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
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: Tue Mar 19 05:17:51 GMT 2024

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

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

Back to the top