Hi Haroon
I'm using JUnit. The stack trace is the following:
com.thoughtworks.selenium.SeleniumException: Permission denied
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand
(HttpCommandProcessor.java:73)
at com.thoughtworks.selenium.DefaultSelenium.open
(DefaultSelenium.java:222)
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:585)
at org.codehaus.groovy.reflection.CachedMethod.invoke
(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod
(InvokerHelper.java:778)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod
(InvokerHelper.java:758)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN
(ScriptBytecodeAdapter.java:170)
at org.tellurium.connector.SeleniumConnector.connectUrl
(SeleniumConnector.groovy:34)
at org.tellurium.test.java.BaseTelluriumJavaTestCase.connectUrl
(Unknown Source)
at com.gsk.rd.CRODashboard.XI_reportTest.TelluriumTest.testLogin
(TelluriumTest.java:33)
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:585)
at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
at org.junit.internal.runners.MethodRoadie.runTestMethod
(MethodRoadie.java:98)
at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:
79)
at
org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters
(MethodRoadie.java:87)
at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:
77)
at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod
(JUnit4ClassRunner.java:88)
at org.junit.internal.runners.JUnit4ClassRunner.runMethods
(JUnit4ClassRunner.java:51)
at org.junit.internal.runners.JUnit4ClassRunner$1.run
(JUnit4ClassRunner.java:44)
at org.junit.internal.runners.ClassRoadie.runUnprotected
(ClassRoadie.java:27)
at org.junit.internal.runners.ClassRoadie.runProtected
(ClassRoadie.java:37)
at org.junit.internal.runners.JUnit4ClassRunner.run
(JUnit4ClassRunner.java:42)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run
(JUnit4TestReference.java:38)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run
(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
(RemoteTestRunner.java:196)
On Jan 20, 12:01 pm, "Haroon Rasheed" <[email protected]> wrote:
> Hi Mariangela,
> Can you please send the stack trace of the error message? What are you using
> JUnit or TestNG??
>
> Cheers,
> Haroon
>
> 2009/1/20 Mariangela <[email protected]>
>
>
>
> > Hi all, I'm trying to develop unit test with Tellurium.
> > I've installed it as documentation say. Then I've wrote UI module for
> > a login form, it contains two inputbox and one link. My test must
> > insert username and password and click link to execute login.
> > I'm using Eclipse environment, I've configured it with Groovy plug-in
> > and I've checked it works correctly.
> > So, I've runned my test, but ... it said me "SeleniumException:
> > Permission denied".
> > I've searched in the web for solution but I didn't found anything.
> > I've configured Tellurium to use remote selenium server. I've
> > installed Selenium RC on my local pc.
> > Anyone can help me to resolve this problem?
>
> > Thanks for your help.
>
> > Cheer
>
> > Mariangela
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---