Unable to start test execution

30 views
Skip to first unread message

mahender Reddy M

unread,
Jul 20, 2011, 3:37:42 AM7/20/11
to testng-users
Hi

I'm using selenium with testng ..i followed configuration steps
suggested in testng site . im getting error while starting test .can
anybody help me , im new to this world.

Error is


RemoteTestNG starting
FAILED CONFIGURATION: @BeforeSuite
setupBeforeSuite(org.testng.TestRunner@a37368)
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:443)
at java.lang.Integer.parseInt(Integer.java:514)
at test.wordpress.setupBeforeSuite(wordpress.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:
81)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:
525)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:272)
at org.testng.SuiteRunner.run(SuiteRunner.java:235)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1049)
at org.testng.TestNG.runSuitesLocally(TestNG.java:974)
at org.testng.TestNG.run(TestNG.java:905)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:203)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)

Cédric Beust ♔

unread,
Jul 20, 2011, 11:29:13 AM7/20/11
to testng...@googlegroups.com
The problem seems to be in your code:

java.lang.NumberFormatException: null
       at java.lang.Integer.parseInt(Integer.java:443)
       at java.lang.Integer.parseInt(Integer.java:514)
       at test.wordpress.setupBeforeSuite(wordpress.java:30)

-- 
Cédric




Reply all
Reply to author
Forward
0 new messages