Radhika,

 

Just to be clear, there is no relation between your browser & the tests you
run  with Webtest.

 

Do you have JavaScript functionality turned on in Webtest (I think it's on
by default)?  Can we see the HTML snippet in question?

 

--
Jonathan Rosenberg
Founder & Executive Director, Tabby's Place
http://www.tabbysplace.org/

 

 

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Bhatkhande, Radhika
Sent: Sunday, August 15, 2010 8:56 PM
To: [email protected]
Subject: FW: [Webtest] FW: Exception invoking jsxFunction_createElement
Importance: High

 

 

Hi,

 

I am using Webtest 3.0 and I get the following exception in some java script
file.

 

Caused by: java.lang.RuntimeException: Cannot set URL: javascript:

        at
com.gargoylesoftware.htmlunit.WebRequest.buildUrlWithNewFile(WebRequest.java
:180)

        at
com.gargoylesoftware.htmlunit.WebRequest.setUrl(WebRequest.java:113)

        at
com.gargoylesoftware.htmlunit.WebRequest.<init>(WebRequest.java:69)

        at
com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFra
me.java:138)

        at
com.gargoylesoftware.htmlunit.html.BaseFrame.setAttributeNS(BaseFrame.java:3
22)

        at
com.gargoylesoftware.htmlunit.html.DomElement.setAttribute(DomElement.java:3
19)

        at
com.gargoylesoftware.htmlunit.javascript.host.html.HTMLElement.jsxFunction_s
etAttribute(HTMLElement

.java:526)

        at
com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument.jsxFunction_
createElement(HTMLDocum

ent.java:943)

Caused by: java.net.MalformedURLException: unknown protocol: javascript

        at java.net.URL.<init>(URL.java:395)

        at java.net.URL.<init>(URL.java:283)

        at
com.gargoylesoftware.htmlunit.WebRequest.buildUrlWithNewFile(WebRequest.java
:177)

 

I thought javascript is not enabled in my browser and hence the error. But,
I checked my browser and saw that Javascript is enabled.

 

Any pointers would be helpful as I am unable to proceed further.

 

Regards,

Radhika Bhatkhande Senior Developer

Shared Services | Sensis IT

150 Lonsdale St., Melbourne 3000 Australia

Phone: (03) 8653 7310

Mobile: 0459 802 812


Sensis. Helping you find, buy and sell.

www.sensis.com.au - www.yellow.com.au - www.whitepages.com.au -
www.citysearch.com.au - www.whereis.com.au

Sensis cares for the environment - think before you print.

This email and any attachments are intended only for the use of the
recipient and may be confidential and/or legally privileged. Sensis Pty Ltd
disclaims liability for any errors, omissions, viruses, loss and/or damage
arising from using, opening or transmitting this email. If you are not the
intended recipient you must not use, interfere with, disclose, copy or
retain this email and you should notify the sender immediately by return
email or by contacting Sensis Pty Ltd by telephone on [+61 3 8653 5000]

 

Reply via email to