@@ -0,0 +1,926 @@
+package topicsSelenium;%0D%0A%0D%0Aimport java.net.MalformedURLException;%0D%0Aimport java.net.URL;%0D%0A%0D%0Aimport org.openqa.selenium.WebDriver;%0D%0Aimport org.openqa.selenium.remote.CapabilityType;%0D%0Aimport org.openqa.selenium.remote.DesiredCapabilities;%0D%0Aimport org.openqa.selenium.remote.RemoteWebDriver;%0D%0Aimport org.testng.annotations.AfterTest;%0D%0Aimport org.testng.annotations.Test;%0D%0A%0D%0Apublic class SauceLabs %0D%0A%7B%0D%0A%09WebDriver driver;%0D%0A%09@Test%0D%0A%09public void SauceLabsTest() throws MalformedURLException%0D%0A%09%7B%0D%0A%09%09DesiredCapabilities cap = DesiredCapabilities.firefox();%0D%0A%09%09cap.setCapability(%22version%22, %2210%22);%0D%0A%09%09cap.setCapability(%22platform%22, %22XP%22);%0D%0A%09%09%0D%0A%09%09driver = new RemoteWebDriver(new URL(%22http://RevanthG:f331358b-5dd8-4573-9291-6a3cfbb28a69@ondemand.saucelabs.com:80/wd/hub%22), cap);%0D%0A%09%09driver.get(%22http://www.ucmo.edu%22);%0D%0A%09%09System.out.println(driver.getTitle());%0D%0A%09%09%0D%0A%09%7D%0D%0A%09@AfterTest%0D%0A%09public void teardown()%0D%0A%09%7B%0D%0A%09%09driver.close();%0D%0A%09%7D%0D%0A%0D%0A%7D%0D%0A

Add files via upload