@@ -0,0 +1,1940 @@
+package com.seleniumtests.noreg.tests;%0D%0A%0D%0Aimport java.util.ArrayList;%0D%0Aimport java.util.List;%0D%0A%0D%0Aimport org.testng.Assert;%0D%0Aimport org.testng.annotations.AfterClass;%0D%0Aimport org.testng.annotations.BeforeClass;%0D%0Aimport org.testng.annotations.BeforeMethod;%0D%0Aimport org.testng.annotations.BeforeTest;%0D%0Aimport org.testng.annotations.DataProvider;%0D%0Aimport org.testng.annotations.Test;%0D%0A%0D%0Aimport com.seleniumtests.core.SeleniumTestsContextManager;%0D%0Aimport com.seleniumtests.core.runner.SeleniumTestPlan;%0D%0Aimport com.seleniumtests.driver.BrowserType;%0D%0Aimport com.seleniumtests.noreg.support.WebServer;%0D%0Aimport com.seleniumtests.noreg.webpage.DemoPage;%0D%0Aimport com.seleniumtests.util.osutility.OSUtilityFactory;%0D%0A%0D%0Aimport cucumber.api.java.en_au.ButattheendofthedayIreckon;%0D%0A%0D%0Apublic class TestWithAllBrowsers extends SeleniumTestPlan %7B%0D%0A%09%0D%0A%09private static WebServer server;%0D%0A%09%0D%0A%09@BeforeClass(groups=%7B%22tnr%22%7D)%0D%0A%09public static void exposeTestPage() throws Exception %7B%0D%0A        server = new WebServer(%22/index.html%22);%0D%0A        server.expose();%0D%0A%09%7D%0D%0A%0D%0A%09@Test(groups=%7B%22tnr%22%7D, dataProvider=%22browsers%22)%0D%0A%09public void testSearch(String browser) throws Exception %7B%0D%0A%09%09SeleniumTestsContextManager.getThreadContext().setBrowser(browser);%0D%0A%09%09DemoPage demo = new DemoPage(String.format(%22%25s/index.html%22, server.getServerHost().toURI())).fillForm();%0D%0A%09%09Assert.assertEquals(demo.getText(), %22hello%22);%0D%0A%09%7D%0D%0A%09%0D%0A%09@DataProvider%0D%0A    public Object%5B%5D%5B%5D browsers() %7B%0D%0A%09%09List%3CObject%5B%5D%3E browsers = new ArrayList%3C%3E();%0D%0A%09%09for (BrowserType browser: OSUtilityFactory.getInstance().getInstalledBrowsers()) %7B%0D%0A%09%09%09if (browser == BrowserType.NONE %7C%7C browser == BrowserType.PHANTOMJS) %7B%0D%0A%09%09%09%09continue;%0D%0A%09%09%09%7D%0D%0A%09%09%09browsers.add(new Object%5B%5D %7Bbrowser.getBrowserType()%7D);%0D%0A%09%09%7D%0D%0A%09%09//browsers.add(new Object%5B%5D %7B%22phantomjs%22%7D);%0D%0A        return browsers.toArray(new Object%5B%5D%5B%5D%7B%7D);%0D%0A    %7D%0D%0A%09%0D%0A%09@AfterClass(groups=%7B%22tnr%22%7D)%0D%0A%09public static void stop() throws Exception %7B%0D%0A%09%09server.stop();%0D%0A%09%7D%0D%0A%7D%0D%0A

test seleniumRobot with all browsers