When running through command line I'm getting the following exception:
[jmln-test-vm] Exception in thread "Thread-152" java.lang.IllegalStateException: Dispatch not hooked to windows memory
[jmln-test-vm] at com.jacob.com.Dispatch.throwIfUnattachedDispatch(Dispatch.java:335)
[jmln-test-vm] at com.jacob.com.Dispatch.call(Dispatch.java:632)
[jmln-test-vm] at net.sf.jiffie.IDispatch.call(IDispatch.java:181)
[jmln-test-vm] at net.sf.jiffie.IHTMLElement.click(IHTMLElement.java:55)
[jmln-test-vm] at net.sf.jiffie.BlockingClickThread.runBlockingMethod(BlockingClickThread.java:55)
[jmln-test-vm] at net.sf.jiffie.BlockingThread.run(BlockingThread.java:56)
This is causing the whole script to fail
Running the same test via GUI works fine.
Logged In: YES
user_id=2006453
Originator: YES
Correct me if I'm wrong here is the command I'm using to execute the script through command line
./build.sh test.script -Dscript=**/IE/login.xml
Logged In: YES
user_id=2006453
Originator: YES
Correct me if I'm wrong here is the command I'm using to execute the script through command line
./build.sh test.script -Dscript=**/IE/login.xml
Logged In: YES
user_id=60860
Originator: NO
What version of windows are you running? Can you run the sample script that comes with jameleon-test-suite? I can run it from the command line w/o a problem under Windows XP SP2.
Logged In: YES
user_id=2006453
Originator: YES
I'm running windows xp sp2
I'm also running with IE7
Logged In: YES
user_id=2006453
Originator: YES
Ok I tried something else
I found out that inputing this tag
functionDelay="300"
for button-click fixes the problem
It looks like that tag is now mandatory for jiffie for button-click
This probably needs to be documented somewhere just in case
Logged In: YES
user_id=60860
Originator: NO
I don't think that setting is mandatory for the Jiffie plug-in. If the page you are automating uses JavaScript, then you will need to set this.
Closing this bug since you found the solution.