- priority: 5 --> 8
I found the following problems when trying to build the project:
1- JiffieTest.java refers to the old XPath Tests, but it doesn't look they got moved over to the new package structure
2- JiffieTest.bat points to a hard-coded path. I think it would be very easy to make this more dynamic based on where the actual tests are run from (I accomplished this same task in Jameleon by using a File object)
3- The tests fail with the following:
1.6.0_03
Windows XP Pro SP2 (32 bit)
AMD Athlon 64 X2 Dual Core 4200+
C:\wrk\jiffie>JiffieTest.bat
C:\wrk\jiffie>rem
C:\wrk\jiffie>rem This batch file runs the Jiffie JUnit tests. Please change the
value of
C:\wrk\jiffie>rem the jiffie.junit.data dir property to the correct location for
your
C:\wrk\jiffie>rem installation of jiffie before running the batch file
C:\wrk\jiffie>rem
C:\wrk\jiffie>java -Djiffie.junit.datadir=c:/java/jiffie/junit -cp jiffie.jar;ja
cob.jar;jaxen-1.1.1.jar;junit.jar junit.textui.TestRunner net.sf.jiffie.JiffieTe
st
.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.
Time: 16.062
There were 25 errors:
1) testElementContainer(net.sf.jiffie.ElementContainerTest)com.jacob.com.ComFail
Exception: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.ElementContainerTest.testElementContainer(ElementContai
nerTest.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
2) testElement(net.sf.jiffie.IHTMLElementTest)com.jacob.com.ComFailException: In
voke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLElementTest.testElement(IHTMLElementTest.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
3) testDocument(net.sf.jiffie.IHTMLDocument2Test)com.jacob.com.ComFailException:
Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLDocument2Test.testDocument(IHTMLDocument2Test.java
:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
4) testGetDocumentElement(net.sf.jiffie.IHTMLDocument2Test)com.jacob.com.ComFail
Exception: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLDocument2Test.testGetDocumentElement(IHTMLDocument
2Test.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
5) testFrames(net.sf.jiffie.IHTMLFrameTest)com.jacob.com.ComFailException: Invok
e of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLFrameTest.testFrames(IHTMLFrameTest.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
6) testAnchors(net.sf.jiffie.IHTMLAnchorElementTest)com.jacob.com.ComFailExcepti
on: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLAnchorElementTest.testAnchors(IHTMLAnchorElementTe
st.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
7) testModalDialog(net.sf.jiffie.IHTMLAnchorElementTest)com.jacob.com.ComFailExc
eption: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLAnchorElementTest.testModalDialog(IHTMLAnchorEleme
ntTest.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
8) testModelessDialog(net.sf.jiffie.IHTMLAnchorElementTest)com.jacob.com.ComFail
Exception: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLAnchorElementTest.testModelessDialog(IHTMLAnchorEl
ementTest.java:301)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
9) testGetForm(net.sf.jiffie.IHTMLSelectElementTest)com.jacob.com.ComFailExcepti
on: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLSelectElementTest.testGetForm(IHTMLSelectElementTe
st.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
10) testGetForm(net.sf.jiffie.IHTMLInputElementTest)com.jacob.com.ComFailExcepti
on: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLInputElementTest.testInput(IHTMLInputElementTest.j
ava:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
12) testFileInput(net.sf.jiffie.IHTMLInputElementTest)com.jacob.com.ComFailExcep
tion: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLInputElementTest.testFileInput(IHTMLInputElementTe
st.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
13) testForm(net.sf.jiffie.IHTMLFormElementTest)com.jacob.com.ComFailException:
Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLFormElementTest.testForm(IHTMLFormElementTest.java
:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
14) testFrameBase2(net.sf.jiffie.IHTMLFrameBase2Test)com.jacob.com.ComFailExcept
ion: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:266)
at net.sf.jiffie.IHTMLFrameBase2Test.testFrameBase2(IHTMLFrameBase2Test.
java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
15) testSingleElementList(net.sf.jiffie.SingleElementListTest)com.jacob.com.ComF
ailException: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.SingleElementListTest.testSingleElementList(SingleEleme
ntListTest.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
16) testDOMElements(net.sf.jiffie.IHTMLDOMNodeTest)com.jacob.com.ComFailExceptio
n: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLDOMNodeTest.testDOMElements(IHTMLDOMNodeTest.java:
46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
17) testTrackingElementFactory(net.sf.jiffie.TrackingElementFactoryTest)com.jaco
b.com.ComFailException: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.TrackingElementFactoryTest.testTrackingElementFactory(T
rackingElementFactoryTest.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
18) testPopup(net.sf.jiffie.IHTMLPopupTest)com.jacob.com.ComFailException: Invok
e of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLPopupTest.testPopup(IHTMLPopupTest.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
19) testStyle(net.sf.jiffie.IHTMLStyleTest)com.jacob.com.ComFailException: Invok
e of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:278)
at net.sf.jiffie.IHTMLCurrentStyleTest.testStyle(IHTMLCurrentStyleTest.j
ava:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
21) testExecuteScriptWithDispatchReturn(net.sf.jiffie.JiffieUtilityTest)com.jaco
b.com.ComFailException: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:266)
at net.sf.jiffie.JiffieUtilityTest.testExecuteScriptWithDispatchReturn(J
iffieUtilityTest.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
22) testAssertTrue(net.sf.jiffie.JiffieUtilityTest)com.jacob.com.ComFailExceptio
n: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:266)
at net.sf.jiffie.JiffieUtilityTest.testAssertTrue(JiffieUtilityTest.java
:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
23) testAssertFalse(net.sf.jiffie.JiffieUtilityTest)com.jacob.com.ComFailExcepti
on: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:266)
at net.sf.jiffie.JiffieUtilityTest.testAssertFalse(JiffieUtilityTest.jav
a:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
24) testAssertNull(net.sf.jiffie.JiffieUtilityTest)com.jacob.com.ComFailExceptio
n: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:266)
at net.sf.jiffie.JiffieUtilityTest.testAssertNull(JiffieUtilityTest.java
:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
25) testVoidFunction(net.sf.jiffie.JiffieUtilityTest)com.jacob.com.ComFailExcept
ion: Invoke of: Navigate
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at net.sf.jiffie.IDispatch.call(IDispatch.java:205)
at net.sf.jiffie.InternetExplorer.navigate(InternetExplorer.java:266)
at net.sf.jiffie.JiffieUtilityTest.testVoidFunction(JiffieUtilityTest.ja
va:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
FAILURES!!!
Tests run: 26, Failures: 0, Errors: 25
C:\wrk\jiffie>JiffieTest.bat
C:\wrk\jiffie>rem
C:\wrk\jiffie>rem This batch file runs the Jiffie JUnit tests. Please change the
value of
C:\wrk\jiffie>rem the jiffie.junit.data dir property to the correct location for
your
C:\wrk\jiffie>rem installation of jiffie before running the batch file
C:\wrk\jiffie>rem
C:\wrk\jiffie>java -Djiffie.junit.datadir=c:/wrk/jiffie/junit -cp jiffie.jar;jac
ob.jar;jaxen-1.1.1.jar;junit.jar junit.textui.TestRunner net.sf.jiffie.JiffieTes
t
......F.Exception in thread "Thread-701" com.jacob.com.ComFailException: Invoke
of: click
Source: htmlfile
Description: Access is denied.
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at com.jacob.com.Dispatch.call(Dispatch.java:633)
at net.sf.jiffie.IDispatch.call(IDispatch.java:181)
at net.sf.jiffie.IHTMLElement.click(IHTMLElement.java:55)
at net.sf.jiffie.BlockingClickThread.runBlockingMethod(BlockingClickThre
ad.java:55)
at net.sf.jiffie.BlockingThread.run(BlockingThread.java:56)
E.E..................
Time: 10.563
There were 2 errors:
1) testModalDialog(net.sf.jiffie.IHTMLAnchorElementTest)com.jacob.com.ComFailExc
eption: Can't map name to dispid: dialogDocument
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.get(Dispatch.java:1312)
at net.sf.jiffie.IDispatch.getVariantProperty(IDispatch.java:84)
at net.sf.jiffie.IHTMLAnchorElementTest.testModalDialog(IHTMLAnchorEleme
ntTest.java:270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
2) testModelessDialog(net.sf.jiffie.IHTMLAnchorElementTest)com.jacob.com.ComFail
Exception: Invoke of: click
Source: htmlfile
Description: Access is denied.
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:945)
at com.jacob.com.Dispatch.callN(Dispatch.java:558)
at com.jacob.com.Dispatch.call(Dispatch.java:633)
at net.sf.jiffie.IDispatch.call(IDispatch.java:181)
at net.sf.jiffie.IHTMLElement.click(IHTMLElement.java:55)
at net.sf.jiffie.IHTMLAnchorElementTest.testModelessDialog(IHTMLAnchorEl
ementTest.java:313)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
There was 1 failure:
1) testAnchors(net.sf.jiffie.IHTMLAnchorElementTest)junit.framework.AssertionFai
ledError: expected:<1> but was:<0>
at net.sf.jiffie.IHTMLAnchorElementTest.testAnchors(IHTMLAnchorElementTe
st.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
FAILURES!!!
Tests run: 26, Failures: 1, Errors: 2