WebDriver driver;
System.setProperty("webdriver.chrome.driver", "C:\\Batches\\WebDriver\\chromedriver-win32\\chromedriver.exe");
driver=new ChromeDriver();
driver.get("https://www.qtpselenium.com/");
driver.findElement(By.xpath("")).sendKeys("");
=========================================================
TestNG] No tests found. Nothing was run
Usage: <main class> [options] The XML suite files to run
Options:
-alwaysrunlisteners
Should MethodInvocation Listeners be run even for skipped methods
Default: true
WebDriver driver;
System.setProperty("webdriver.chrome.driver", "C:\\Batches\\WebDriver\\chromedriver-win32\\chromedriver.exe"); ----> Delete this line, you don't have to mention chromedriver anymore
driver=new ChromeDriver();
driver.get("https://www.qtpselenium.com/");
driver.findElement(By.xpath("")).sendKeys("");