i am unable to run selenium script through Eclipse

47 views
Skip to first unread message

Vishnu

unread,
Apr 15, 2011, 10:06:47 AM4/15/11
to Selenium Users, vardh...@gmail.com
Hi Friends,

I am new to selenium and I am facing issues while running the selenium
script through Eclipse.

I followed the steps mentioned in the below link:

http://seleniumhq.org/docs/appendix_installing_java_driver_client.html#configuring-selenium-rc-eclipse-reference

issue is:

Class not found com.zzz2.test.TestUsersearch
java.lang.ClassNotFoundException: com.zzz2.test.TestUsersearch
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:
693)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:
429)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
452)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:
683)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:
390)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:
197)

Note: My team mate is able to run the script.

steps he followed to run the script:

1. recorded script through IDE and exported it as JUnit3 into a folder
in Eclipse project

2. Right click on the script -> Runas -> JUnit test

then i am facing this issue, when he did the same in his PC he is able
to exeucte.

Can any one give me solution.

NagaRaju dasam

unread,
Apr 15, 2011, 11:33:38 AM4/15/11
to seleniu...@googlegroups.com
Please go through below post.

http://testerinyou.blogspot.com/search/label/Setting%20up%20Selenium%20RC%20and%20JUnit


Thanks,
Naga

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.




--
Thanks,
Naga


Reply all
Reply to author
Forward
0 new messages