Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » [SOLVED] externalize in a file global variables and procedures to handle huge project(#hack #breakers #brainstorming #externalize_in_a_file_global_variables_and_procedures #organize_the_job #improve_quality #improve_productivity #test_standard)
icon14.gif  [SOLVED] externalize in a file global variables and procedures to handle huge project [message #1711454] Fri, 16 October 2015 09:10 Go to next message
Angelo Luciani is currently offline Angelo LucianiFriend
Messages: 129
Registered: September 2015
Location: Milan
Senior Member

Hi Folks,
I'm curious to know how you are organizing your job.

At the moment my scripts have got the following structure
/*global variables*/
/*procedures*/
/*main program*/


I'd like to externalize in a file global variables and procedures because:
1. In this way it is possible don't copy and paste them for every test case
2. I can modify global variables and procedures only one time

Someone has already work on that ?
Have you got any good tips?


You will feel free to share your idea.

Thanks Mates !




"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova

[Updated on: Tue, 20 October 2015 10:39]

Report message to a moderator

Re: How to manage huge project with rcp tt ? [externalize in a file global variables and procedures] [message #1711458 is a reply to message #1711454] Fri, 16 October 2015 09:38 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Angelo,

You can put global variables and procedures into ECL Script Context and use the Context as a Default Context for Test Project.



Kind regards,
Ulyana.
icon12.gif  Re: How to manage huge project with rcp tt ? [externalize in a file global variables and procedures] [message #1711929 is a reply to message #1711458] Tue, 20 October 2015 10:37 Go to previous messageGo to next message
Angelo Luciani is currently offline Angelo LucianiFriend
Messages: 129
Registered: September 2015
Location: Milan
Senior Member

It works ! Awesome ! RCP TT is really cool Shocked !
Thanks for share !


"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
Re: How to manage huge project with rcp tt ? [externalize in a file global variables and procedures] [message #1760238 is a reply to message #1711929] Tue, 25 April 2017 06:26 Go to previous messageGo to next message
Zbyszek Kieliszek is currently offline Zbyszek KieliszekFriend
Messages: 13
Registered: April 2017
Junior Member
Can we permanently modify value of global variable during execution?
I would like to modify global variable in Test Case 1, and use new value in Test Case 2, etc.
Re: How to manage huge project with rcp tt ? [externalize in a file global variables and procedures] [message #1763756 is a reply to message #1760238] Fri, 19 May 2017 10:08 Go to previous message
Viktoria Dlugopolskaya is currently offline Viktoria DlugopolskayaFriend
Messages: 124
Registered: March 2017
Senior Member
Hi Zbyszek,

No, there is no way to modify one global variable through two or more test cases.
Previous Topic:Setting a preference context using ECL language?
Next Topic:Passing parameters between scripts
Goto Forum:
  


Current Time: Fri Apr 26 16:36:11 GMT 2024

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

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

Back to the top