Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged
New issue 8083 by
andrew.p...@gmail.com: Enum missing
https://code.google.com/p/selenium/issues/detail?id=8083
On upgrading my Maven 3 project from 2.43.1 to 2.44.0 attempting to test on
a Windows 2012 platform I get the following exception and stacktrace for
every test that attempts to execute from NUnit 2.6.3:
**START STACKTRACE***
java.lang.IllegalArgumentException: No enum constant
org.openqa.selenium.Platform.Windows 2012
at java.lang.Enum.valueOf(Enum.java:238)
at org.openqa.selenium.Platform.valueOf(Platform.java:30)
at
org.openqa.selenium.remote.DesiredCapabilities.setCapability(DesiredCapabilities.java:168)
at
au.com.fullcirclesolutions.saucery.capabilities.concreteproducts.DesktopCapabilities.<init>(DesktopCapabilities.java:15)
at
au.com.fullcirclesolutions.saucery.capabilities.concretecreators.DesktopCreator.Create(DesktopCreator.java:11)
at
au.com.fullcirclesolutions.saucery.capabilities.CapabilityFactory.CreateCapabilities(CapabilityFactory.java:15)
at
au.com.fullcirclesolutions.saucery.tests.SauceryBase.setUp(SauceryBase.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at
org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
***END STACKTRACE***
What steps will reproduce the problem?
1. Update pom.xml dependency version from 2.43.1 to 2.44.0
2. Attempt to test on Window 2012 platform
3. Get exception
What is the expected output? What do you see instead?
That the test executes on the requested platform as it does on 2.43.1
Selenium version:
OS: Windows 2012
Browser: Chrome
Browser version: 38
Test run on SauceLabs VM.
Downgrading back to 2.43.1 resolves the issue. Tests run successfully on
Windows 2012 platform.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings