Hi Mike,

the problem comes from an error earlier, in the evaluation of the object on which location is called later.

If you don't need javascript, you can deactivate it. Otherwise you have to investigate what is the failing js expression.

Marc.

valemic wrote:
Hi, I am getting this message when calling a javascript fuction on the onload
event from a frame. Is there a workaround?
C:\webtest\usecases\tech.xml:61: Canoo Webtest: R_1396.
Test failed.
Test step clicklink (C:\webtest\usecases\tech.xml:91: )  failed with message
"Step[clicklink (6/50)]: Script error loading page executing webtest at:
clicklink Wrapped com.gargoylesoftware.htmlunit.ScriptException: TypeError:
Cannot read property "location" from null (Embedded script in
http://localhost/techServlet?nextpage=find_report_questions.html&currBus=Retail#170)
(Embedded script in
http://localhost/techServlet?nextpage=find_report.html#27)
Source code:
function () {
        [native code, arity=0]
}

Thanks,
-Mike

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to