I am trying to write two testng tests in the same class (using Selenium webdriver) - one logs in into the application and the other creates a new account. 

These are the steps I am following
- use @BeforeClass to open the application on firefox browser

```
@BeforeClass
public void setUp() throws Exception {
    driver = new FirefoxDriver();
    baseUrl = "http://www.salesforce.com";
    driver.get(baseUrl + "/");
}

```

* First test to login into the website

```
@Test
public void testLogin() throws Exception {
driver.findElement(By.id("username")).sendKeys(strUsername);
driver.findElement(By.id("password")).sendKeys(strPassword);
driver.findElement(By.id("Login")).click();

```

}
* Second test to create a new account

```
@Test
public void createAccount() throws Exception {
driver.findElement(By.linkText("Accounts")).click();
************************
        ************************
        ************************
        ************************
        ************************

```

}

My problem is that when I run this testng test, I get exception in the second test:
**org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"link text","selector":"Accounts"}**

But if I include the command "driver.findElement(By.linkText("Accounts")).click();" in the testLogin() test, it works. I want to run all my tests in the same browser session.

Any input would be appreciated much.
Thanks.