[Webtest] [webtest][JIRA] Closed: (WT-92) Ant task propertytable does not
handle empty fields correctly
Denis N. Antonioli (JIRA)
Denis N. Antonioli (JIRA)" <noreply@canoo.com
Wed, 21 Feb 2007 22:57:28 +0100 (CET)
[ http://webtest-community.canoo.com/jira/browse/WT-92?page=all ]
Denis N. Antonioli closed WT-92:
--------------------------------
Even if the author of the ant task PropertyTable is one of the commiter of WebTest, the ant task isn't part of WebTest.
> 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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira