Hi Marc, The "update" button is a server request. It saves my editing towards the input field. The strange thing is that the software application user interface via IE shows the correct value that I edited, while webtest shows the one with all the decimal points.
Thanks, Lily -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot Sent: Monday, May 19, 2008 2:53 AM To: [email protected] Subject: Re: [Webtest] Inputbox value is not verified correctly in webtest Hi, what happens on <clickButton name="update" description="Click Save button"/> If this is a server request that returns a new page, then it means that the wrong value comes from the server. If not, then it means that some client side js is faulty but I think that rounding problems are quite strange in this case. Cheers, Marc. Meng, Lily wrote: > Thank you, Marc. > > I attached the steps (editServiceDigitError) and the source > file(service.html) file. > 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Guillemot > Sent: Friday, May 16, 2008 3:47 AM > To: [email protected] > 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. > -- > 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 > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Profile </userProfile.do> | Help <javascript:RH_ShowHelp(0, > 'http://esohelp.pointserve.com/v50_0_0/enduser/helpsystem.htm', > HH_HELP_CONTEXT, 0);> | Log Out </logoff.do> > Logo </index.jsp> > > > > > > > > > > > > > > > > > > > > > > > > Planning Location Services Reporting Configuration Administration > > > > Economic Resource Optimization Administration > Company Administration > > Service Type > > > > > * Daily > o Schedule Board > o Print Daily Schedules > o Create and Review Daily Plans > * Multi-Day > o Create and Review Multi-Day Plans > > * Location Services > * Route Finder > > * Data Listings > * Work > > * Calendar Template > * Branch > * Technician > * Customer > * Service Orders > * Upload Service Orders > > * Process Profile > * Data Validation > * Company Administration > o Company > o Certification > o Certification Category > o Code > + Cancel > + Closeout > + Modify > + Manual Appointments > o Email Template > o Optimization Profile > + Appointment Allocation > + Multi-Day Planning > + Technician > + Technician Scheduling > + Service Type > + Branch > o Service Type > o Skill > o Skill Category > o Service Level Agreement > o User > * System Administration > o Batch Process > o Tenant Settings > o OP Server Settings > o GIS Server Settings > o Postal Code > > > > > Service Type > > Name Service Type ID Duration (minutes) Time Window (hours) > Timeliness Profile Revenue Cost Rate Skills / > Certifications > WATIR Service1 8589 20 5 High WATIR Service Profile > $15.00 > $15.00 view skills & certifications > WATIR Service2 12345678902 15 1 Medium WATIR Service > Profile > $20.00 $10.00 view skills & certifications > WATIR Service3 12345678903 15 1 Medium WATIR Service > Profile > $20.00 $10.00 view skills & certifications > > 1 1 - 3 of 3 > Show results > > Details Skills Certifications Scheduling Parameters > Basic Parameters Appointment Scheduling > > > Basic Information > > * required field > > Default Service Order Duration:* minutes > Round to nearest:* minutes > Default Timeliness Priority:* > Missed Time Window Cost:* dollars > > > > > > > > on Pointserve > > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

