3 messages in com.canoo.lists.webtestRe: [Webtest] Cannot find function el...
FromSent OnAttachments
sdfreetiger22 Sep 2006 12:56 
sdfreetiger22 Sep 2006 13:16 
Marc Guillemot24 Sep 2006 01:10 
Subject:Re: [Webtest] Cannot find function elementFromPoint?
From:Marc Guillemot (mgui@yahoo.fr)
Date:09/24/2006 01:10:11 AM
List:com.canoo.lists.webtest

Hi,

elementFromPoint is not currently supported by htmlunit because htmlunit doesn't compute rendering (what makes it quite fast). I suppose that in ADF elementFromPoint is called with parameters received previously from an onclick event. Therefore it would be possible to add this functionality in htmlunit without to compute rendering: elementFromPoint would only need to be coherent with the mouse event coordinates.

Marc.

PS: I've never used ADF but already wondered why it uses elementFromPoint which is surely not the simplest way to handle events but this can't be changed ;-(

sdfreetiger wrote:

The error message as following: Script error loading page execution webtest at: clickLink TypeError Can not find function elementFromPoint. (http://localhost:8080/project/adf/jslib/Common10_1_3_0_4.js#3859) source code: function() { [native code, arity=0] }

I used webtest to test oracle ADF dialog frame, webest does not work.the error show as following:

clicklink typeError: Cannot find function elementFromPoint.

Does anybody encount the problem before?

Thanks