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]

[QF-Test] Commented lines still effective for the QFT Jython compiler

  • Subject: [QF-Test] Commented lines still effective for the QFT Jython compiler
  • From: Hans Schwaebli <hans_schwaebli@?.com>
  • Date: Mon, 21 May 2007 02:40:44 -0700 (PDT)

QFT seems to ignore commented lines in a SUT script sometimes:
table = rc.getComponent("$(componentId)")
rowCount = table.getRowCount()
#if rowcount < 0:
#firstItemIndex = 0
#lastItemIndex = rowCount - 1
#rc.setLocal("rowCount", rowcount)
#rc.setLocal("firstItemIndex", "0")
#rc.setLocal("lastItemIndex", lastItemIndex)
#print $(rowCount)
#print $(firstItemIndex)
#print $(lastItemIndex)
I have to remove the lines starting with "#" so that QFT doesn't "see" them. Why?

Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when.
Videos Downloads Documentation Buy Free Trial