dataDriven loses values
-----------------------
Key: WT-402
URL: http://webtest-community.canoo.com/jira/browse/WT-402
Project: WebTest
Type: Bug
Versions: future versions
Environment: jdk 1.5.0_12 on windoze
Reporter: thomas quas
Attachments: dabtrader.xls, report.png
So I grabed the latest and greatest... R_1685
Note that I have to use latest and greatest to get jQuery working.
My test:
<project name="DABbank" default="case" basedir="..">
<target name="case">
<webtest name="TestDabTrader">
&config;
<steps>
<invoke url="${url.dabtrader}" />
&Login;
<verifyTitle text="${dabtrader.title}" description="Verify if
we are on the login page..." />
<dataDriven tableContainer="tests/dabtrader.xls">
<setInputField htmlId="securityId"
value="${securityId}"/>
<echo message="${securityId}"/>
<setInputField htmlId="transactionBuy"
value="${transactionBuy}"/>
<setInputField htmlId="transactionSell"
value="${transactionSell}"/>
<setInputField htmlId="nominalSelect"
value="${nominalSelect}"/>
<setInputField htmlId="stockExchange"
value="${stockExchange}"/>
<echo message="${securityId}"/>
<echo message="${activeTab}"/>
<clickButton htmlId="inputButton"/>
<verifyXPath xpath="//[EMAIL
PROTECTED]'applicationBox']/ul/li/[EMAIL PROTECTED]'active']"
text="${activeTab}"/>
</dataDriven>
&Logout;
</steps>
</webtest>
</target>
</project>
>From the attached report you can see that the second usage of 'securityId'
>fails. Strange enough, 'activeTab' never gets picked up, though defined in the
>spreadsheet.
--
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
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest