I am trying to set up automated selenium testing but don't know how to run tests in multiple browsers. Based on reading stuff online I have selenium grid up and running with multiple browsers and it successfully executes my tests.
I am trying to figure out how to setup my junit tests so that it runs all the browsers one after another or in parallel is possible. Here is my code:
selenium = new DefaultSelenium("grid.host.here", "4444", "*firefox", "http://host.com");
With this code it only runs firefox, how do I tell it to run firefox, iexplore and safari without creating new instantes of the object? I have seen examples in PHP and Python where you can pass an array of browsers and it runs them one after another. Couldn't find anything for Java.