Hi,
HtmlUnit-2.6 is now integrated in latest WebTest build. Can you give it
a try? If the problem persists you can try to simulate Firefox rather
than IE (the default). Of course a minimal test case allowing to
identify the root cause is welcome.
Cheers,
Marc.
--
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com
Rhee wrote:
Hi All
Has anyone been able to deal with this kind of error? Error comes up
when loading page. Is there anyway to get around it? I tried with the
latest Webtest and HTMLUnit snap shots.
/JavaScript error loading page
http://10.201.25.220/TimeEntry.QA.Web/Consultant/TimecardHistory.aspx:
TypeError: Cannot call method "toLowerCase" of undefined
(http://10.201.25.220/TimeEntry.QA.Web/ScriptResource.axd?d=J_IBcOPnIYOy6D1x6nh199ORS0S87dsIOIxXe3SSm3UOseOzlMd2PjLCNw5X0j0mRLTCLIkvafgPpl_AWr2aLQ2&t=7422f133#1643
<http://10.201.25.220/TimeEntry.QA.Web/ScriptResource.axd?d=J_IBcOPnIYOy6D1x6nh199ORS0S87dsIOIxXe3SSm3UOseOzlMd2PjLCNw5X0j0mRLTCLIkvafgPpl_AWr2aLQ2&t=7422f133#1643>)/
Thanks
-Rhee
On Wed, Aug 5, 2009 at 8:56 AM, Rhee <[email protected]
<mailto:[email protected]>> wrote:
Thanks for your response Ahmed. This is a new application still
under development and is only available internally. I will download
the latest snap shot as you suggested and run the test again.
Thanks again
-Rhee
On Wed, Aug 5, 2009 at 3:25 AM, Ahmed Ashour <[email protected]
<mailto:[email protected]>> wrote:
Hi Rhee,
R_1777 uses HtmlUnit 2.5
".accessKey" has already been fixed in 2.6-SNAPSHOT. Can you
post the URL of the web application, so we can test with latest
snapshot?
Yours,
Ahmed
----
Blog: http://asashour.blogspot.com
------------------------------------------------------------------------
*From:* Rhee <[email protected]
<mailto:[email protected]>>
*To:* [email protected] <mailto:[email protected]>
*Sent:* Tuesday, August 4, 2009 9:51:27 PM
*Subject:* [Webtest] Cannot call method "toLowerCase" of undefined
Hi All
I get a java script error after clicking a button and loading a
new page. Latest snap shot. (R_1777), HTMLUnit 2.4. Manually
loading the page on IE or FF does not show the same error:
javascript error TypeError: Cannot call method "toLowerCase" of
undefined
(http://xx.xx.xx.xx/TimeEntry.QA.Web/ScriptResource.axd?d=J_IBcOPnIYOy6D1x6nh199ORS0S87dsIOIxXe3SSm3UOseOzlMd2PjLCNw5X0j0mRLTCLIkvafgPpl_AWr2aLQ2&t=18ad3c4b#1643
<http://xx.xx.xx.xx/TimeEntry.QA.Web/ScriptResource.axd?d=J_IBcOPnIYOy6D1x6nh199ORS0S87dsIOIxXe3SSm3UOseOzlMd2PjLCNw5X0j0mRLTCLIkvafgPpl_AWr2aLQ2&t=18ad3c4b#1643>)
line 1643
javascript source function () {
return method.apply(instance, arguments);
I see the error here and a proposed resolution dated 02/09:
http://www.nabble.com/Re:-TypeError:-Cannot-call-method-%22toLowerCase%22-of-undefined-td22180543.html
"This is because 'element.accessKey' was not supported. I have a
local fix, but can't commit to SVN at the moment for some
reason, in few hours, you shouldn't get that error again using
the latest snapshot.
Yours,
Ahmed"
Has anyone seen this error and if so how was it resolved?
--
- Rhee
"Risk nothing and you gain nothing"
--
- Rhee
"Risk nothing and you gain nothing"
--
- Rhee
"Risk nothing and you gain nothing"
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest