Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Vector or array in RCPTT(#get-tree #get-items #foreach)
Vector or array in RCPTT [message #1753806] Fri, 10 February 2017 11:00 Go to next message
Angelo Luciani is currently offline Angelo LucianiFriend
Messages: 129
Registered: September 2015
Location: Milan
Senior Member

Hi Folks,
In a table I can't select the row because I don't know the ID .
I am able to get the values using the following portion of code
with [get-view "Compliance Dashboard" | get-tree]
{
     get-items| foreach [val item]
      {
      show-alert [ $item | get-property "columns[67]" -raw]       
   }
}

I need to save these values because I need to run a verify-true method.

Do you know if in RCPTT exist Vector, Array ?
If not any workaround ?


"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
Re: Vector or array in RCPTT [message #1756412 is a reply to message #1753806] Thu, 16 March 2017 15:04 Go to previous message
Daniel Herding is currently offline Daniel HerdingFriend
Messages: 1
Registered: September 2015
Junior Member
Angelo Luciani wrote on Fri, 10 February 2017 11:00

Do you know if in RCPTT exist Vector, Array ?


I think the main problem is that we cannot call a constructor from ECL script. I reported this here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=497389

If you could call a constructor, then you could create an array list in which you could collect your strings.

Quote:
If not any workaround ?

If you can modify the source code of your AUT, then you could add a helper class with a static method which returns a new ArrayList.
Previous Topic: RCPPT doesn't records RMB on main toolbar
Next Topic:Link to ECL commands is broken
Goto Forum:
  


Current Time: Fri Mar 29 00:40:51 GMT 2024

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

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

Back to the top