Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) Client VM 23.3-b01
I have the existing selenium scripts in which are written in java, these were running successfully on Netbeans 7.1.2 , but when i tried running these scripts on Netbeans 7.2 , it says that :
Unknown option: -mixed
Usage: <main class> [options]
The XML suite files to run
-configfailurepolicy Configuration failure policy (skip or
-d Output directory
-dataproviderthreadcount Number of threads to use when running
-excludegroups Comma-separated list of group names to
-groups Comma-separated list of group names to be
-junit JUnit mode
-listener List of .class files or list of class
names implementing ITestListener or
-methods Comma separated of test methods
-methodselectors List of .class files or list of class
names implementing IMethodSelector
-objectfactory List of .class files or list of class
names implementing ITestRunnerFactory
-parallel Parallel mode (methods, tests or classes)
-port The port
-reporter Extended configuration for custom report
-suitename Default name of test suite, if not
specified in suite definition file or
-suitethreadpoolsize Size of the thread pool to use to run
-testclass The list of test classes
-testjar A jar file containing the tests
-testname Default name of test, if not specified in
suitedefinition file or source code
-testnames The list of test names to run
-testrunfactory, -testRunFactory The factory used to create tests
-threadcount Number of threads to use when running
tests in parallel
-usedefaultlisteners Whether to use the default listeners
-log, -verbose Level of verbosity
Java Result: 1
Please let me know what is the issue in it.
Created attachment 126049 [details]
Are you able to attach your scripts? I'm afraid that between 7.1.2 and 7.2 didn't change much things in the Selenium modules ... where did the "-mixed" option come from, don't you know? Could you take a look on it?
*** Bug 217456 has been marked as a duplicate of this bug. ***
Marking as incomplete for now. Reporters please ,could you provide more information to this issue and reopen the issue again? Thanks a lot...
When in NetBeans 7.2x to run the junit,
Changed reading order for class loading "junit library"
and other "jar library" ?
I have encountered the same symptoms too.
I have created a "selenium-2.25.0" library in NetBeans.
Which includes the following:
I have created a simple project.
Only default Java source, Test Source, and include
When use NetBeans 7.1, JUnit Test is normal end.
But, use NetBeans 7.2/7.2.1, Get message "Unknown option: -mixed..."
When I delete the files libs/* in selenium-2.25.0,
use NetBeans 7.2/7.2.1 is normal end.
But, it can not be implemented properly is only
Do not return to a previous order class loading?
I was able to reproduce it now. Not sure what could be wrong there. Anyway another class loading is not easily possible since it is handled as common library. Right now, I'm working on the Selenium upgrade to 2.28.0 which will be available for NB7.3 and it works well to me there.
*** Bug 220081 has been marked as a duplicate of this bug. ***
This should be fixed in plugins available for the NetBeans73. Feel free to test it out in the NetBeans 7.3RC with these plugins:
BTW, newly it's required to have installed libraries for the Ant Project and Server plugins. I believe this will resolve your troubles. Thanks for reporting.