Issue
I want to create a new project in Netbeans that will be used for testing a web application using Selenium 2. I am not sure how to get started.
Is there any simple step by step tutorial to follow for Netbeans + Selenium?
What type of new project do I need to create in Netbeans so that I can run tests?
Solution
Open a New java project in your IDE.
Download the Selenium Standalone server here
Put the jar file in the lib and Start to create your Selenium test cases.
If you want to run it on Chrome then download the chromedriver.exe
file here
For to run on IE download the IEDriverServer.exe
for respective bit version here
Sample code:
WebDriver driver = new FirefoxDriver();
driver.get("URL");
//Do some actions
driver.quit();
Answered By - Manigandan
Answer Checked By - Cary Denson (JavaFixing Admin)