Logo QF-Test

Im Archiv der Mailingliste
wertvolle Antworten finden.

 

Gratis Testen  Download  Kaufen

Thomas Max, QF-Test Training und Support

Tipp für die Recherche in der Mailingliste: Volltextsuche (oben) verwenden.

Thomas Max,
Sr. Software Engineer & Trainer, QFS

2016 bis heute 2015 | 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[QF-Test] Arrays in QF-Test


  • Subject: [QF-Test] Arrays in QF-Test
  • From: "Adrian Chamberlain \(BE/ETL\)" <adrian.chamberlain@?.com>
  • Date: Tue, 1 May 2007 11:41:22 +0200

Following on from the previous archive entries entitled:
'Re: [QF-Test] Help regarding reading values from Properties file'

Set variable node [ 'array', ["apple","pear","banana","orange"] ]

set variable node [ 'element1', ${jython:$(array)[0]} ]
set variable node [ 'element2', ${jython:$(array)[1]} ]
etc.

Hence,
QF-Test variable 'element1' will equal 'apple'
and
QF-Test variable 'element2' will equal 'pear'
etc.

At the risk of asking a silly question how does one get the length of this array
without resorting to an SUT or Server script.

i.e. set variable node [ array_size, len($(array)[]) ]

Can anyone point out what the correct syntax should be?

Thank you in advance for any help offered.
Kind Regards
A.Chamberlain



Videos Downloads Dokumentation Kaufen Gratis Testen