TestNG:Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -protocol -
on running testng.xml, getting following error:
exception in thread "main" com.beust.jcommander.parameterexception: unknown option: -protocol @ com.beust.jcommander.jcommander.parsevalues(jcommander.java:742) @ com.beust.jcommander.jcommander.parse(jcommander.java:282) @ com.beust.jcommander.jcommander.parse(jcommander.java:265) @ com.beust.jcommander.jcommander.<init>(jcommander.java:210) @ org.testng.remote.remotetestng.main(remotetestng.java:161)
no errors there in actual selenium classes.
issue resolved now. problem occurred remotetestng loading. removed c:/program%20files/java/jdk1.8.0_40/jre/lib/ext/testng-6.9.6.jar. able run testng.xml without error message. @xuqing tan valuable comments.
Testng:Exception In Thread Main
ReplyDeleteCom.Beust.Jcommander.Parameterexception: Unknown Option: -Protocol - >>>>> Download Now
>>>>> Download Full
Testng:Exception In Thread Main
Com.Beust.Jcommander.Parameterexception: Unknown Option: -Protocol - >>>>> Download LINK
>>>>> Download Now
Testng:Exception In Thread Main
Com.Beust.Jcommander.Parameterexception: Unknown Option: -Protocol - >>>>> Download Full
>>>>> Download LINK 9i