views:

130

answers:

4

Is Selenium paltform specific. If yes then how can I develop a cross-platform specific application with it by first identifying the platform and then call the platform-specific selenium routines.

A: 

I am not so familiar with Selenium, but it looks to me that it works almost everywhere where you can install Firefox 2+.

Platforms Supported by Selenium

Željko Filipin
+3  A: 

The IDE is a firefox plugin, but you can develop tests in multiple languages, which run on and against multiple platforms (including multiple browsers). Not really sure what you're trying to accomplish, but hopefully that helps.

Todd R
+1  A: 

Hi, Selenium is platform independent. This is because you run a Selenium RC server (which is a java application and hence can be run on any platform). Then you send selenese commands to the server which controls the testing activity on the browser. To send the selenese commands you can use any language (such as Java, PHP, Ruby etc). Now this again does not limit you in any way to a certain OS.

If you are using the Firefox plugin IDE to run the test cases then ofcourse the platforms supported would be limited to platforms supported by Firefox.

Hope that answers.

Mugen
A: 

I'm using Selenium for a project that runs under Windows and Ubuntu. The only platform specific code is for starting the environment where it executes (headless X server under Ubuntu) and starting the selenium jar file. The rest is all platform independent. I don't know if this will also work as smoothly when you try to use different browsers (I'm using Firefox on both platforms).

Hope this helps.

Regards,

Sebastiaan

Sebastiaan Megens