@@ -0,0 +1,896 @@
+%0A/**%0A%0Aauthor: bhordupur%0ADate : Setember 2014%0ATurku University%0A%0A*/%0A%0A%0A%0Apackage Software_Testing_UTU;%0A%0Aimport java.io.File;%0Aimport java.util.concurrent.TimeUnit;%0A%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.firefox.FirefoxDriver;%0Aimport org.openqa.selenium.firefox.FirefoxProfile;%0Aimport org.testng.annotations.BeforeTest;%0A%0Apublic class OpenBrowser %7B%0A%09%0A%09protected static WebDriver driver;%0A%09%0A%09@BeforeTest%0A%09public void setUpFirefox()%7B%0A%09//OPEN THE CUSTOM PROFILE%0A%09String path =%22C:%5C%5Cusers%5C%5Cbhordupur%5C%5CAppData%5C%5CRoaming%5C%5CMozilla%5C%5CFirefox%5C%5CProfiles%5C%5C4yhwcq77.default_browser%22;%0A%09FirefoxProfile customProfile = new FirefoxProfile(new File(path));%0A%09driver = new FirefoxDriver(customProfile);%0A%09//MAXIMISE THE BROWSER%0A%09driver.manage().window().maximize();%0A%09%0A%09%7D%0A%09%0A%09public void tearDownFirefox()%7B%0A%09%09%0A%09%09//CLOSE THE BROWER%0A%09%09driver.close();%0A%09%09%0A%09%09//KILL THE INSTANCE%0A%09%09//driver.quit();%0A%09%09%0A%09%7D%0A%0A%7D%0A

Create OpenBrowser.java