Hi,
I am fairly new to the webtest. I have been trying to execute a webtest
pulling up the data from an excel file "simple.xls" (which I have in the
same folder as my test). I have the following test and below is the data
from the simple.xls
The test behaves strangely because I can see the webtest name getting
printed fine "Login admin".
But the input field values remain "${Username}" and "${Password}" instead of
"admin" and "admin"
I am not sure if i am missing anything here.
Thanks for all the help.
-Aparna
<?xml version="1.0"?>
<project default="test">
<target name="test">
<dataDriven tableContainer="simple.xls" replaceProperties="yes">
<webtest name="Login ${Username}">
<!---invoke the url--->
<setInputField name="login" value="${Username}" />
<setInputField name="passwd" value="${Password}" />
<clickButton name="loginButton" />
<verifyText text="Welcome" />
</webtest>
</dataDriven>
</target>
</project>
simple.xls
---------------
Username Password admin admin