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.


Comments

  1. Testng:Exception In Thread Main
    Com.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

    ReplyDelete

Post a Comment

Popular posts from this blog

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -