[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2015-03-09 Thread christianrov...@gmail.com (JIRA)














































Christian Rovera
 commented on  JENKINS-25757


Windows 2003 is an unknown platform















Thanks for the clarification.
I was able to resolve the problem.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2015-03-08 Thread piar...@gmail.com (JIRA)














































Ross Rowe
 commented on  JENKINS-25757


Windows 2003 is an unknown platform















The Jenkins plugin uses the results of the Sauce REST API to present the list of platforms available under Sauce (https://saucelabs.com/rest/v1/info/browsers/webdriver), and the platform value that is supplies is a fine-grained value (eg. Windows 2008, Windows 2012, etc).  The Platform enum included as part of the Selenium source code is a course-grained value and represents the broader platform which is to be used, and doesn't necessarily have a 1-1 relationship with the available Sauce platforms (eg. for the iOS and Android devices).

The preferred approach to set the platform on the capabilities is to use the platform value directly without converting it, eg.

capabilities.setCapability("platform", System.getenv("SELENIUM_PLATFORM"))

however Selenium 2.44.0 introduced a change whereby the Selenium code would attempt to convert this value into a Platform enum value.  This change should've been reverted in Selenium 2.45.0, so the code listed about should now work.

The value for the SELENIUM_PLATFORM environment variable is the same as the 'os' attribute in the SAUCE_ONDEMAND_BROWSERS environment variable, ideally they should have similar names, but at this stage it would be difficult to change their names without impacting multiple users.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2015-03-06 Thread christianrov...@gmail.com (JIRA)












































 
Christian Rovera
 edited a comment on  JENKINS-25757


Windows 2003 is an unknown platform
















I had the same issue, but not just with "Windows 2003". The same happens with "Windows 2008", "Windows 2012" and "Windows 2012 R2". The only platforms that I can use are those listed in the file below. But none of these are listed on the Sauce onDemand plugin.
https://github.com/SeleniumHQ/selenium/blob/master/java/client/src/org/openqa/selenium/Platform.java


I use the environment variable "SELENIUM_PLATFORM", but if I look into the "SAUCE_ONDEMAND_BROWSERS", the platform is ok.

For example:


	capabilities.setPlatform(Platform.fromString(System.getenv("SELENIUM_PLATFORM")))
SELENIUM_PLATFORM=Windows 2003
SAUCE_ONDEMAND_BROWSERS={"os":"Windows 2003","platform":"XP",...}



Why the "SELENIUM_PLATFORM" value is not the same as in "SAUCE_ONDEMAND_BROWSERS"?

Sorry for my bad English.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2015-03-06 Thread christianrov...@gmail.com (JIRA)














































Christian Rovera
 commented on  JENKINS-25757


Windows 2003 is an unknown platform















I had the same issue, but not just with "Windows 2003". The same happens with "Windows 2008", "Windows 2012" and "Windows 2012 R2". The only platforms that I can use are those listed in the file below. But none of these are listed on the Sauce onDemand plugin.
https://github.com/SeleniumHQ/selenium/blob/master/java/client/src/org/openqa/selenium/Platform.java


I use the environment variable "SELENIUM_PLATFORM", but if I look into the "SAUCE_ONDEMAND_BROWSERS", the platform is ok.

For example:


	capabilities.setPlatform(Platform.fromString(System.getenv("SELENIUM_PLATFORM")))
SELENIUM_PLATFORM=Windows 2003
SAUCE_ONDEMAND_BROWSERS={"os":"Windows 2003","platform":"XP",...}
Why the "SELENIUM_PLATFORM" value is not the same as in "SAUCE_ONDEMAND_BROWSERS"?



Sorry for my bad English.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2015-03-06 Thread christianrov...@gmail.com (JIRA)












































 
Christian Rovera
 edited a comment on  JENKINS-25757


Windows 2003 is an unknown platform
















I have the same issue, but not just with "Windows 2003". The same happens with "Windows 2008", "Windows 2012" and "Windows 2012 R2". The only platforms that I can use are those listed in the file below. But none of these are listed on the Sauce onDemand plugin.
https://github.com/SeleniumHQ/selenium/blob/master/java/client/src/org/openqa/selenium/Platform.java


I use the environment variable "SELENIUM_PLATFORM", but if I look into the "SAUCE_ONDEMAND_BROWSERS", the platform is ok.

For example:


	capabilities.setPlatform(Platform.fromString(System.getenv("SELENIUM_PLATFORM")))
SELENIUM_PLATFORM=Windows 2003
SAUCE_ONDEMAND_BROWSERS={"os":"Windows 2003","platform":"XP",...}



Why the "SELENIUM_PLATFORM" value is not the same as in "SAUCE_ONDEMAND_BROWSERS"?

Sorry for my bad English.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2015-03-05 Thread piar...@gmail.com (JIRA)















































Ross Rowe
 resolved  JENKINS-25757 as Fixed


Windows 2003 is an unknown platform
















Selenium 2.45 has now been released, can you let me know if this version resolves your issue?





Change By:


Ross Rowe
(05/Mar/15 6:28 PM)




Status:


InProgress
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2015-01-14 Thread piar...@gmail.com (JIRA)















































Ross Rowe
 assigned  JENKINS-25757 to Ross Rowe



Windows 2003 is an unknown platform
















Change By:


Ross Rowe
(14/Jan/15 8:11 AM)




Assignee:


KohsukeKawaguchi
RossRowe



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2015-01-14 Thread piar...@gmail.com (JIRA)














































Ross Rowe
 started work on  JENKINS-25757


Windows 2003 is an unknown platform
















Change By:


Ross Rowe
(14/Jan/15 9:34 AM)




Status:


Open
InProgress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2015-01-14 Thread piar...@gmail.com (JIRA)














































Ross Rowe
 commented on  JENKINS-25757


Windows 2003 is an unknown platform















This is an issue with Selenium 2.44, we've raised a bug for this issue, and a fix should be available in version 2.45 of Selenium



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [sauce-ondemand-plugin] (JENKINS-25757) Windows 2003 is an unknown platform

2014-11-24 Thread mj-li...@expertsystems.se (JIRA)














































Mattias Jiderhamn
 created  JENKINS-25757


Windows 2003 is an unknown platform















Issue Type:


Bug



Assignee:


Kohsuke Kawaguchi



Components:


sauce-ondemand-plugin



Created:


24/Nov/14 12:46 PM



Description:


When configuring WebDriver to use any browser on "Windows 2003", then the platform cannot be resolved by SeleniumFactory. Supposedly "Windows Server 2003" is expected.

java.lang.IllegalArgumentException: No enum constant org.openqa.selenium.Platform.Windows 2003
	at java.lang.Enum.valueOf(Enum.java:236)
	at org.openqa.selenium.Platform.valueOf(Platform.java:30)
	at org.openqa.selenium.remote.DesiredCapabilities.setCapability(DesiredCapabilities.java:168)
	at com.saucelabs.sauce_ondemand.driver.SauceOnDemandSPIImpl.createWebDriver(SauceOnDemandSPIImpl.java:157)
	at com.saucelabs.sauce_ondemand.driver.SauceOnDemandSPIImpl.createWebDriver(SauceOnDemandSPIImpl.java:141)
	at com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriverInstance(SeleniumFactory.java:320)
	at com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriverInstance(SeleniumFactory.java:303)
	at com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriver(SeleniumFactory.java:109)
 ...




Project:


Jenkins



Priority:


Major



Reporter:


Mattias Jiderhamn

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.