I am trying to use Se Interpreter to run the json scripts generated by Se Builder on Sauce Labs. Everything seems to work as expected except I cannot set the platform. For example:
It will run successfully but the platform will show up as "Windows 2003" on Sauce. This also happens if I change the platform to "xp", "vista", "windows", "linux" or exclude the platform altogether. A possibly related issue is I can't use "safari" with the "windows" platform. For example:
INFO: ../tests/holiday.json failed
java.lang.RuntimeException: Test run failed: unable to create driver.
at com.sebuilder.interpreter.TestRun.next(TestRun.java:79)
at com.sebuilder.interpreter.TestRun.finish(TestRun.java:127)
at com.sebuilder.interpreter.Script.run(Script.java:68)
at com.sebuilder.interpreter.SeInterpreter.main(SeInterpreter.java:93)
Caused by: org.openqa.selenium.UnsupportedCommandException: The requested combination of browser, version and OS is currently unsupported in this version of Selenium (Webdriver): "safari " on "Windows 2003"
Command duration or timeout: 390 milliseconds
Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 21:09:54'
System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.1', java.version: '1.6.0_33' Driver info: driver.version: RemoteWebDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:188)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:498)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:182)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:128)
at com.sebuilder.interpreter.webdriverfactory.Remote.make(Remote.java:40)
at com.sebuilder.interpreter.TestRun.next(TestRun.java:77)
... 3 more
Other browsers work successfully like "chrome" and "iexplore".