Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » [SOLVED] Generate random value ECL(Generate random value ECL)
[SOLVED] Generate random value ECL [message #1648156] Tue, 03 March 2015 20:05 Go to next message
Hernan Wittemoller is currently offline Hernan WittemollerFriend
Messages: 8
Registered: February 2015
Junior Member
Hi,

does anybody know if there's an ECL that would generate a random value. I couldn't find anything related on the docs or the forums.

Should I use a custom ECL for that?

Thank you

Regards

[Updated on: Mon, 05 October 2015 06:51] by Moderator

Report message to a moderator

Re: Generate random value ECL [message #1651260 is a reply to message #1648156] Thu, 05 March 2015 07:45 Go to previous message
Olga Yurchuk is currently offline Olga YurchukFriend
Messages: 245
Registered: September 2014
Senior Member

Hello,

It can be achieved by using command invoke-static:
log [invoke-static -pluginId org.eclipse.core.runtime -className java.util.concurrent.ThreadLocalRandom -methodName current | invoke nextInt 1000]


Please, let me know if it is suitable for you.


Yours sincerely,
Olga.
Previous Topic:Recorded double-click fails
Next Topic:[SOLVED] Execution Failed when running test suite
Goto Forum:
  


Current Time: Fri Apr 26 12:47:37 GMT 2024

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

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

Back to the top