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

2017 up to now  | 2016 | 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 2012

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

[QF-Test] setText in a generic JTable

  • Subject: [QF-Test] setText in a generic JTable
  • From: MEVEL Clement <Clement.MEVEL@?.com>
  • Date: Wed, 3 Oct 2012 09:06:27 +0000

Hi all,


I have to set text in table cells.

I defined a Generic JTable in order to not record every tables in my GUI. This generic table is recognized thanks to the table name passed in parameter in the procedures.

I tried to fill the table cell (text field) using a procedure or a script but I did not succeed.

Here are my tries:


·         By procedure:

setText on GenericTable@$(columnName)&$(rowId)

ð  The cell is found but the input method does not work



·         By script (Groovy)


import javax.swing.JTable;


xOffset = rc.lookup("xOffset")


// Table with column “X from host” and an iterator for the lines

// The local variable tableName was set before to identify the GenericTable

table, (row, column) = rc.getComponent("GenericTable@X from host&$(iterator)")

table.setValueAt(xOffset, row, column)


ð  Exception “Unexpected token: table@line 8, column 1”


Any ideas?




Clement Mevel

Videos Downloads Documentation Buy Free Trial