516/anyone-help-that-how-run-selenium-webdriver-test-cases-chrome
I used the following code
WebDriver driver = new ChromeDriver();
But this is the error:
Failed tests: setUp(com.TEST): The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://code.google.com/p/chromedriver/downloads/list
Please help!!!!
Download the executable driver from: ChromeDriver Download
Before creating the driver object use this below code
System.setProperty("webdriver.chrome.driver", "/path/to/chromedriver"); WebDriver driver = new ChromeDriver();
Use the following code to launch Chrome driver in Selenium:
@Afreen to run selenium test cases in ...READ MORE
Hey Kajal, TestNG allows you to perform ordered ...READ MORE
Hi Sobia, for running test cases in ...READ MORE
Hey Priyank, to understand how assertFalse() or ...READ MORE
The better way to handle this element ...READ MORE
enable trusted connection in internet explorer by ...READ MORE
To Allow or Block the notification, access using Selenium and you have to ...READ MORE
xpath are two types. 1) Absolute XPath: /html/b ...READ MORE
using OpenQA.Selenium.Interactions; Actions builder = new Actions(driver); ...READ MORE
First, find an XPath which will return ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.