@@ -0,0 +1,1017 @@
+import org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.chrome.ChromeDriver;%0Aimport org.openqa.selenium.support.ui.WebDriverWait;%0A%0Apublic class test2_login %7B%0A    private WebDriver driver;%0A    private WebDriverWait wait;%0A%0A    @Before%0A    public void start()%7B%0A        driver = new ChromeDriver();%0A        wait = new WebDriverWait(driver, 10);%0A    %7D%0A%0A    @Test%0A    public void test1()%7B%0A        driver.get(%22http://localhost/litecart/admin/login.php%22);%0A        driver.findElement(By.name(%22login%22)).click(); //click with no data input%0A        driver.findElement(By.name(%22username%22)).sendKeys(%22admin%22);%0A        driver.findElement(By.name(%22password%22)).sendKeys(%22admin%22);%0A        driver.findElement(By.name(%22remember_me%22)).click();%0A        driver.findElement(By.name(%22login%22)).click(); //click with correct login data%0A    %7D%0A%0A    @After%0A    public void stop()%7B%0A        driver.quit();%0A        driver = null;%0A    %7D%0A%7D%0A

test_login