Logo QF-Test

Finding valuable answers
in the Mailing List Archive.

 

Free Trial  Download  Buy

Thomas Max, QF-Test training and support

Use the full-text search on our web site to find helpful tips on the mailing list.

Thomas Max, 
Sr. Software Engineer & Trainer, QFS

2016 up to now | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007

(older archive entries before 2007 are not shown here, but included in the onsite-search)

Mailing List - Entries of 2007


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

Re: [QF-Test] Direct element access from the end of the item node list


  • Subject: Re: [QF-Test] Direct element access from the end of the item node list
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 31 Jul 2007 22:28:10 +0200

Hi David,

indeed, it's not that easy, though we should consider that, it would
be consistent with Jython slices.

For now, you need a combination with an SUT script:

rc.setLocal("rows", rc.getComponent("table2").getRowCount())

and then use table2@Event&$[$(rows)-2] to address the cell.

Best regards,
    Greg

David_Downey@?.com writes:

>    What is the syntax for position from end of list or table? ...or is it
>    even possible?
>    something like the following (even though it didn't work)
>    table2@Event&-2
>    ...would theoretically select the second from the last item in the
>    Event column of table2
>    David A. Downey
>    Software Quality Assurance Analyst
>    BD Technologies
>    919-597-6523
>      _________________________________________________________________
>
>    *******************************************************************
>    IMPORTANT MESSAGE FOR RECIPIENTS IN THE U.S.A.: This message may
>    constitute an advertisement of a BD group's products or services or a
>    solicitation of interest in them. If this is such a message and you
>    would like to opt out of receiving future advertisements or
>    solicitations from this BD group, please forward this e-mail to
>    optoutbygroup@?.com.
>    *******************************************************************
>    This message (which includes any attachments) is intended only for the
>    designated recipient(s). It may contain confidential or proprietary
>    information and may be subject to the attorney-client privilege or
>    other confidentiality protections. If you are not a designated
>    recipient, you may not review, use, copy or distribute this message.
>    If you received this in error, please notify the sender by reply
>    e-mail and delete this message. Thank you.
>    *******************************************************************
>    Corporate Headquarters Mailing Address: BD (Becton, Dickinson and
>    Company) 1 Becton Drive Franklin Lakes, NJ 07417 U.S.A.
>    *******************************************************************

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833


Videos Downloads Documentation Buy Free Trial