Hi,
I use "Format cells - text" for cells with date
Regards,
Roman
Dasha Chykanava:
Hi,
I'm new to WebTest and I faced with the following problem:
I would like to test my page using <dataDriven> task.
Excel file that is specified as "tableContainer" contains dates to be
tested (values are stored in date format "mm/dd/yyyy").
My test looks like:
...
<dataDriven
tableContainer="date.xls">
<webtest name="calculate">
<invoke url=""true"
href="http://holdrs.staging.reutersresearch.com/">http://holdrs.staging.reutersresearch.com" description="Open HLDRs page"/>
<clickLink href=""/>
<clickLink xpath="//a[normalize-space(text())='Cost Basis
Calculator']"/>
<setSelectField description="Specify HOLDRs"
optionIndex="2"
xpath="//[EMAIL PROTECTED]'HoldrId']"/>
<setInputField description="Enter Holdr Price" value="10"
name="HoldrPrice"/>
<setInputField description="Enter Holdr Date"
value="${date}" name="HoldrDate"/>
<setInputField description="Enter Holdr Commission"
value="1" name="HoldrCommission"/>
<clickLink xpath="//[EMAIL PROTECTED]'ho_calc_bt']]"/>
<verifyText text="Adjusted Cost Basis For Biotech HOLDRS (BBH) :
0.00 "/>
</webtest>
</dataDriven>
...
According to the Test Report "39452.0" value is set
instead "1/5/2008" specified in excel file.
Could you please advice how to use dates from excel in
<dataDriven> task?
Thank you in advance.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
|