It’s me again – trying to convert from 2.0 to the latest version. In 2.0, I only had to reference my resolver on the resolver tab. However, in the latest version, Marathon is complaining that it cannot find the resolver.
I read the documentation and it states that I have to put the class path along with the class name.
So I did this and Marathon still does not recognize
So…I have attached a screenshot where I am pointing specifically to my resolver path in the Class Path – which is C:\Marathon_Libratrunk\src\test\java\com\axiomainc\libra\gui\marathon\resolvers

The next screenshot is where I have put the class name which is com.axiomainc.libra.gui.marathon.resolvers.LibraComponentResolver

This is the error that I am getting when I record a new test:
May 16, 2013 12:43:42 PM net.sourceforge.marathon.runtime.JavaRuntime <init>
INFO: Creating a JavaRuntime
May 16, 2013 12:43:42 PM net.sourceforge.marathon.recorder.WindowMonitor <init>
INFO: Creating window monitor instance
May 16, 2013 12:43:42 PM net.sourceforge.marathon.component.DelegatingNamingStrategy create
INFO: Creating naming strategy: net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy
May 16, 2013 12:43:43 PM net.sourceforge.marathon.recorder.WindowMonitor getOpenedWindows
INFO: OpenedWindows(KeyboardFocusManager): null
java.lang.NoSuchMethodException: com.axiomainc.libra.gui.marathon.resolvers.LibraComponentResolver.<init>(net.sourceforge.marathon.component.ComponentFinder, boolean, net.sourceforge.marathon.recorder.WindowMonitor)
at java.lang.Class.getConstructor0(Class.java:2715)
at java.lang.Class.getConstructor(Class.java:1659)
at net.sourceforge.marathon.providers.ResolversProvider.get(ResolversProvider.java:66)
at net.sourceforge.marathon.component.ComponentFinder.<init>(ComponentFinder.java:85)
at net.sourceforge.marathon.runtime.JavaRuntime.createResolver(JavaRuntime.java:237)
at net.sourceforge.marathon.runtime.JavaRuntime.getComponentResolver(JavaRuntime.java:229)
at net.sourceforge.marathon.runtime.JavaRuntime.createScript(JavaRuntime.java:204)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.sourceforge.rmilite.impl.RemoteInvocationHandlerImpl.invoke(RemoteInvocationHandlerImpl.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
What do I need to do in order to resolve this error message?
Regards,
VickiG
--
Looking for professional help with your Marathon projects?
Go visit: http://marathontesting.com
---
You received this message because you are subscribed to the Google Groups "Marathon Java GUI Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-testi...@googlegroups.com.
To post to this group, send email to marathon...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.