I cannot instantiate the follow class using TestNG and IE Webdriver. Can someone identify what is wrong with my source code?
public class NewQATEstClassTest {
//For use of IE only; Please enable for IE Browser
WebDriver driver = new InternetExplorerDriver();
@BeforeMethod
public void beforeMethod() {
//Using or Launching Internet Explorer
String exePath = "\\Users\\jj85274\\Desktop\\IEDriverServer.exe";
//For use of IE only; Please enable for IE Browser
System.setProperty("webdriver.ie.driver", exePath);
}