Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » [ECL] Is it possible to launch a script after each Test Case and not before ?
[ECL] Is it possible to launch a script after each Test Case and not before ? [message #1717059] Wed, 09 December 2015 18:13 Go to next message
Hakim Sellou is currently offline Hakim SellouFriend
Messages: 6
Registered: July 2015
Junior Member
Hi everybody,

All is in the title Smile
I want to start a server before a TC and I use a default script contect to do that.
But I want to stop the server in ECL script after each TC.

Is there a way to do that?

Thanks !
Re: [ECL] Is it possible to launch a script after each Test Case and not before ? [message #1717116 is a reply to message #1717059] Thu, 10 December 2015 04:21 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Hakim,

Do you have any specific reasons why not to do it before a test script execution?
RCPTT uses the concept of the contexts to prepare AUT state and to avoid the case when tests can affect each other.
In case your test will fail somewhere in the middle your "post-action" won't be executed.
So, you could create a ECL Script context where you will check if the server is launched and stop it if it is.

Kind regards,
Ulyana.
Re: [ECL] Is it possible to launch a script after each Test Case and not before ? [message #1725326 is a reply to message #1717116] Wed, 02 March 2016 14:37 Go to previous message
Markus Manck is currently offline Markus ManckFriend
Messages: 34
Registered: June 2015
Member
Any preparation and teardown script that is executed before the AUT is launched and after the AUT is closed would be great in order to prepare elements which do not directly belong to the AUT context such as database installation and loading or license setup etc.
This is currently a very big drawback for us especially with integration in Jenkins.
Previous Topic:Control Panel Record with SuperContext throws NPE, GroupContext does not work correctly
Next Topic:Testing the login to an AUT
Goto Forum:
  


Current Time: Fri Apr 26 11:58:38 GMT 2024

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

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

Back to the top