11 messages in com.canoo.lists.webtesterror source file for [Webtest] Input...
FromSent OnAttachments
Meng, Lily15 May 2008 10:21 
George Policello15 May 2008 11:20 
Meng, Lily15 May 2008 11:58 
Meng, Lily15 May 2008 12:28 
Francois Martel15 May 2008 12:35 
Marc Guillemot16 May 2008 01:46 
Meng, Lily16 May 2008 11:01.xml, .html
Meng, Lily16 May 2008 11:11.html
Marc Guillemot19 May 2008 00:52 
Meng, Lily19 May 2008 06:27 
Marc Guillemot21 May 2008 01:23 
Subject:error source file for [Webtest] Inputbox value is not verified correctly in webtest
From:Meng, Lily (lme@pointserve.com)
Date:05/16/2008 11:11:46 AM
List:com.canoo.lists.webtest
Attachments:
019_response_clickElement.html - 34k

Here is another source file containing the error. Hope you can view it. Thanks!

Lily

-----Original Message----- From: Meng, Lily Sent: Friday, May 16, 2008 12:13 PM To: 'webt@lists.canoo.com'; 'Marc Guillemot' Subject: RE: [Webtest] Inputbox value is not verified correctly in webtest

Thank you, Marc.

I attached the steps (editServiceDigitError) and the source file(service.html)
file and the error page(response_clickElement.html). I'm not sure if you will be able to see the error page.

When running locally, the webtest passes through fine. But when running against
the server, upon clicking the "save" button, error occurs.

Wrong contents found in input field: HtmlTextInput[<input id="missedSlaCost"
name="missedSlaCost" type="text" value="15.119999885559082" size="12"
maxlength="12">] expected value 15.12 actual value 15.119999885559082

Thank you!

-----Original Message----- From: webt@lists.canoo.com [mailto:webt@lists.canoo.com] On
Behalf Of Marc Guillemot Sent: Friday, May 16, 2008 3:47 AM To: webt@lists.canoo.com Subject: Re: [Webtest] Inputbox value is not verified correctly in webtest

Hi,

can you provide your steps? Do you convert this value to a number? Is some JS involved?

Cheers, Marc.

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