Skip to main content



      Home
Home » Eclipse Projects » RCP Testing Tool » How to re-use ECL scripts across multiple projects?
How to re-use ECL scripts across multiple projects? [message #1710562] Wed, 07 October 2015 10:34 Go to next message
Eclipse UserFriend
Hi,

is there a way to easily share ECL scripts containing several procedures (i.e., a library in some way) across multiple RCPTT projects? What are the best practices to do that?

We could have these scripts in an own RCPTT project hosted in a repo, import the project in each workspace that uses those scripts, add the project references etc. to be able to use the script in the context of RCPTT tests. But it seems to be cleaner to provision them in a more managed way, e.g., as a plug-in.

I've seen the extension point to add custom ECL commands, but is there something comparable for providing custom context scripts?

Thanks for your feedback!

Philip
Re: How to re-use ECL scripts across multiple projects? [message #1710627 is a reply to message #1710562] Wed, 07 October 2015 23:37 Go to previous message
Eclipse UserFriend
Hi Philip,

You can do it by setting <projects> element in pom.xml:

Extra projects
In case of using linked projects or folders in Workspace context, it might be required to specify an extra projects to be imported into RCPTT Runner workspace. This can be done by using projects element:

<projects>
    <project>${project.basedir}/../otherProject</project>
</projects>


Kind regards,
Ulyana.
Previous Topic:"tear down" context for tests?
Next Topic:[SOLVED] Visit a table line by line
Goto Forum:
  


Current Time: Sat Jun 14 23:55:08 EDT 2025

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

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

Back to the top