Hi Ahmed,

Issue added to the HtmlUnit-Tracker.

Yours,
Michael

Ahmed Ashour schrieb:
Dear Michael,

>>so moveEnd and probably also moveStart are unknow-functions for HtmlUnit, right?

Right, open a bug report in HtmlUnit so we are notified when they are implemented.

Yours,
Ahmed
------------------------------------------------------------------------
*From:* Michael Habbert <michael.habb...@key-work.de>
*To:* webtest@lists.canoo.com
*Sent:* Thursday, January 8, 2009 1:41:01 PM
*Subject:* Re: [Webtest] Problem with the actual build

Hi Marc,

Report about the JS-Code Errors:

first:
------------------------------
JavaScript error loading page https://webgate-dev/ags/ofbiz/projection/control/EditSalesActionsServiceQuantAssessed?_SEARCH_PERFORMED_=true&filterProjectionDatasetId=60862&selectedProjectionUnitId=128367 <https://webgate-dev/ags/ofbiz/projection/control/EditSalesActionsServiceQuantAssessed?_SEARCH_PERFORMED_=true&filterProjectionDatasetId=60862&selectedProjectionUnitId=128367>: TypeError: Cannot find function moveEnd in object [object]. (WebTestParallelInit.groovy#57)
--------------------

so moveEnd and probably also moveStart are unknow-functions for HtmlUnit, right?

--------------------
if (elem.createTextRange) {
      var r = document.selection.createRange().duplicate()
      r.moveEnd('character', elem.value.length)
      if (r.text == ''){
          pStart = elem.value.length;
      }
      else{
          pStart = elem.value.lastIndexOf(r.text)
      }
  }  else pStart = elem.selectionStart;
      if (elem.createTextRange) {
      var r = document.selection.createRange().duplicate()
      r.moveStart('character', -elem.value.length)
      pEnd = r.text.length
  } else pEnd = elem.selectionEnd;
---------------


Michael Habbert Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | www.key-work.de
Fon: +49-721-78203-269 | E-Mail: michael.habb...@key-work.de | Fax: 
+49-721-78203-10

Key-Work Consulting GmbH Karlsruhe, HRB 108695, HRG Mannheim
Geschäftsführer: Andreas Stappert, Tobin Wotring
_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to