Hi, can you provide your steps? Do you convert this value to a number? Is some JS involved?
Cheers, Marc. -- Blog: http://mguillem.wordpress.com Meng, Lily wrote: > Hi, > > I'm webtesting an "inputfield" with a decimal number. I store the original > value, edit it, and verify the value I input, then give the original value > back to the inputfield. When I verify the value that's inputed, webtest gives > the following error. When I edited the input field manually in the UI > application, it saves the the correct value. The view source shows the > correct value as well. Any suggestions on where's wrong? > > > > > Message > Wrong contents found in input field: HtmlTextInput[<input id="missedSlaCost" > name="missedSlaCost" type="text" value="15.119999885559082" size="12" > maxlength="12">] > Location > C:\WebTestHead\tests\testCase.xml (line: 26) > Details > expected value 15.12 > actual value 15.119999885559082 > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

