Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Pass parameter value from Maven to the Parameters Context
Pass parameter value from Maven to the Parameters Context [message #1759335] Mon, 10 April 2017 16:16 Go to next message
Michael Müller is currently offline Michael MüllerFriend
Messages: 1
Registered: April 2017
Junior Member
Hello,

how can I pass parameter values from the Maven configuration to the parameters context of the test project?
I want to call the RCP TT Test from Jenkins and give some parameter values to the test case.
Unfortunately I did not find any information in the plugin documentation of the RCPTT maven plugin.
Any help is highly appreciated,

Regards,
Michael



Re: Pass parameter value from Maven to the Parameters Context [message #1759336 is a reply to message #1759335] Mon, 10 April 2017 16:25 Go to previous message
Andrey Sobolev is currently offline Andrey SobolevFriend
Messages: 74
Registered: February 2015
Member
Hi,

You could use following:

1. http://download.xored.com/q7/docs/ecl-api/latest#substitute-variables

2. http://www.xored.com/2013/09/03/how-to-pass-a-value-to-a-test-during-its-execution/
It is still relevant for RCPTT.

3. https://www.eclipse.org/rcptt/documentation/userguide/maven/

<aut>
...
<vmArgs>
<vmArg>-DpropertyName=propertyValue</vmArg>
</vmArgs>
</aut>

And in test:

log [substitute-variables "${system_property:propertyName}"] //writes prop val to AUT workspace log

Best regards,
Andrey.
Previous Topic:RCPTT + GEF: scrolling does not work
Next Topic:Can we run 2 RCPTT instance simultaneously?
Goto Forum:
  


Current Time: Tue Jun 19 22:24:11 GMT 2018

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

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

Back to the top