Mailingliste - Einträge 2006


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

[qftestJUI] Table column identification


  • Subject: [qftestJUI] Table column identification
  • From: Jon Bright <jbright@?.de>
  • Date: Thu, 27 Apr 2006 12:45:28 +0200

Hi,

We have a problem with identification of table columns. We have a table looking something like this:

+-------+-------+-------+-------+
|   A   |   B   |   C   |   D   |
+-------+-------+-------+-------+
|     1 | Foo   |    10 | 15,00 |
|     2 | Bar   |    20 | 10,00 |
+-------+-------+-------+-------+

We have a test which does a Check Text on (e.g.) "table@C&0", checking for "10". This works fine (and also works fine if we use an Item node, "table.C&0").

What doesn't work fine is if we remove a column from the table:

+-------+-------+-------+
|   A   |   C   |   D   |
+-------+-------+-------+
|     1 |    10 | 15,00 |
|     2 |    20 | 10,00 |
+-------+-------+-------+

If we now run the test again, the Check Text gets a mismatch, expecting "10" and getting "15,00". Is QFTest caching the index of a given column name? If so, is there some way we can get it to flush this cache? If not, how can we work around this problem?

--
Jon Bright
Software Entwickler, tick-IT GmbH
http://www.tick-it.de


Videos Downloads Dokumentation Kaufen Gratis Testen