[Webtest] [webtest][JIRA] Created: (WT-92) Ant task propertytable does not handle empty fields correctly

Christian Kemmer (JIRA) webtest@lists.canoo.com
Thu, 20 Oct 2005 10:14:54 +0200 (CEST)


Ant task propertytable does not handle empty fields correctly
-------------------------------------------------------------

         Key: WT-92
         URL: http://webtest-community.canoo.com/jira/browse/WT-92
     Project: WebTest
        Type: Bug
    Versions: 1.6    
    Reporter: Christian Kemmer


I am using Ant 1.6.2, webtest 1.6 and propertytable 1.0

When I create an Excel table like this:

A B
a b
a  
a c

I would like to see the following behaviour when using propertytable in Ant:

1. run: ${A} returns "a" and ${B} returns "b"
2. run: ${A} returns "a" and ${B} returns ""
3. run: ${A} returns "a" and ${B} returns "c"

But what actually happens is the following:

1. run: ${A} returns "a" and ${B} returns "b"
2. run: ${A} returns "a" and ${B} returns "b" (from first run, explicitly empty in second row!)
3. run: ${A} returns "a" and ${B} returns "c"
 
I need my expected behaviour to verify that all checks for mandatory fields on a webpage work. I enter all but one mandatory field in every run. Doing this, I get something like the following matrix in Excel, where X indicates that a field has a value, while O means there is no value

A B C D E F G H J
O X X X X X X X X
X O X X X X X X X
X X O X X X X X X
X X X O X X X X X
X X X X O X X X X
X X X X X O X X X
X X X X X X O X X
X X X X X X X O X
X X X X X X X X O

My question is: Can propertytable be fixed to achieve this behaviour or is there any workaround I can use?

Best regards,

Christian Kemmer

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira