title: Selenium TestNG runs prototype test fine but Does not work when using maven test
body: <p>Im following <a href="http://qtp-help.blogspot.in/2013/09/webdriver-with-maven.html" rel="nofollow">http://qtp-help.blogspot.in/2013/09/webdriver-with-maven.html</a> tutorial on Selenium/Maven/TestNG for CI (will add jenkins). The test runs fine while using only TestNG to build but runs into errors when using "maven test.</p>
  
  <p>heres the test:</p>
  
  <pre><code>import org.openqa.selenium.WebDriver;
  //import org.openqa.selenium.FirefoxDriver;
  import org.openqa.selenium.firefox.*;
  import org.testng.annotations.Test;
  
  
  public class GoogleTest {
  private WebDriver driver;
  
  @Test
  public void verifySearch() {
      driver = new FirefoxDriver();
      driver.get("http://www.google.com/");
      driver.quit();
      }
  }
  </code></pre>
  
  <p>Heres the pom.xml</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;MavenWebDriverDemo&lt;/groupId&gt;
  &lt;artifactId&gt;MavenWebDriverDemo&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
          &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
          &lt;version&gt;2.33.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
          &lt;artifactId&gt;selenium-server&lt;/artifactId&gt;
          &lt;version&gt;2.33.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.testng&lt;/groupId&gt;
          &lt;artifactId&gt;testng&lt;/artifactId&gt;
          &lt;version&gt;6.8.8&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p></p>
  
  <p>The TestNG executes with all passes but heres the console output after I try to execute the pom by Maven Test:
  <a href="http://pastebin.com/jPiep8cT" rel="nofollow">http://pastebin.com/jPiep8cT</a></p>
  
  <p>Please help! THanks!</p>