Skip to main content

Creating your first project in IntelliJ Community Edition IDE

In previous post we have covered, how to install the IDE. Now we will see how to create to java project in IntelliJ IDE which would be required for our first selenium script.


Just follow below steps and images -
Open the IDE.
Open the IDE.
Open the IDE.


As we are starting fresh, we don't have any settings to import so we will select the second radio button and click on OK button
Setting import pop up
Setting import pop up


We need to accept the privacy policy agreement before proceeding any further. Read the policy and then click on accept.
Privacy Policy Agreement
Privacy Policy Agreement


For now, we would not make any change in default setting of IntelliJ be it theme or any plugin. If you want to play around with it, go ahead no harm in that.


Default setting for IDE
Default setting for IDE
Now IDE will get loaded as shown in below image.


IDE getting started
IDE getting started


Click on first option to create your first project.
Create New Project
Create New Project


We need to set SDK for this project, so click on New button.
Set SDK for the project
Set SDK for the project
Click on JDK option from the list.


Set SDK for the project
Set SDK for the project


Set JDK path as shown in image below. If you have not installed JDK, then please follow the instruction mentioned in this post. It will help you to download and install JDK.


Set JDK for the project
Set JDK for the project
JDK path will reflect in SDK
Project SDK
Project SDK


Next to continue
Next to continue


Name your project and select the location for the project then create on Finish button.


Project Name & Location
Project Name & Location
IDE will give you interesting Tip of the day, for now we will just close it.
Tip of the Day
Tip of the Day
Click on the nodes to see your first project.
First Project
First Project


Congratulations! You have created your first project successfully.

Comments

Popular posts from this blog

How to Open Browser in Incognito / InPrivate mode using Selenium / WebDriver

How to Open Chrome Browser in Incognito mode using Selenium / WebDriver ?          We will use Chrome Drivers Capabilities & ChromeOptions to open Chrome browser in incognito mode. To be precise, we have to use argument --incognito  for ChromeOption as shown in below example- How to Open Firefox Browser in Incognito / Private mode using Selenium / WebDriver ?     We will use Firefox Profile   to open Firefox in private mode. To be precise, we will set browser.private.browsing.autostart in firefox profile preference. How to Open Internet Explorer (IE) Browser in InPrivate mode using Selenium / WebDriver ?       We will use IE Driver Capabilities to open IE in InPrivate mode. To be precise we will use FORCE_CREATE_PROCESS capability along with IE_SWITCHES to which parameter would be -private This is all for now. Cheers!!

History Of Selenium WebDriver

I have assumed that you have already read my past blog entry, Introduction to Selenium WebDriver and here on the quest to find out technical answer of question - what selenium is? Before getting to the answer, I want you to go though the below info-graphics of history of Selenium WebDriver.  History of Selenium Now that you are aware of history, Can you answer what Selenium is? Selenium is set of tools which includes :- Selenium IDE Selenium RC WebDriver Selenium Grid So meaning of Selenium depends upon the context, c iting the man himself - Simon Stewart here - Unfortunately, the Selenium project uses a lot of jargon. Selenium Core is the heart of the original Selenium implementation, and is a set of Javascript scripts that control the browser. This is sometimes referred to as "Selenium" and sometimes as "Core". Selenium RC was the name given to the language bindings for Selenium Core, and is commonly, and confusingly, referred to as just "Selenium"