Hello Friends,
   I want to know what arguments need to be passed to Recorder
   java -cp <your class path> net.sf.swtbot.recorder.ui.Main
com.example.your.MainClass -your -program arguments

   What arguments need to be passed here?
  I tried passing the application class name to be recorded as argument

  For ex :
D:\JavaWorkspace\org.eclipse.swt.examples\bin\org\eclipse\swt\examples\addressbook\AddressBook.class
  but everytime it failed displaying the following message:

  Exception in thread "main" *java.lang.ClassNotFoundException*:
D:\JavaWorkspace\org.eclipse.swt.examples\bin\org\eclipse\swt\examples\addressbook\AddressBook.class

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(*Native Method*)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(*Native Method*)

at java.lang.Class.forName(Unknown Source)

at net.sf.swtbot.recorder.ui.Main.start(*Main.java:40*)

at net.sf.swtbot.recorder.ui.Main.main(*Main.java:36*)
PLEASE NOTE: I am trying to run this recorder using the Eclipse 3.4

Could anybody please tell me whats the problem going on here?
Why I am getting the above message?

Thanks and Regards
Nawaz Ahmed.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to