Skip to main content

Setting up tools..

Required Software:

Java:
Java is an open source programming language, Selenium can be Scripted in so many languages, in this tutorial we are going to use Java 
Eclipse:
Eclipse is an editor which provides great suggestion and of course open source
Browser:
All the browsers are open source so you can what ever you like, In my tutorial I am going to use Chrome
Steps to followed to set up your first automation project:


  1. Download & Install java - Download Java
  2. Set java path in environment variables
  3. Download Eclipse from the given link. (Any version of Eclipse is fine, Recommended to use latest version)
  4. Download Eclipse  - Download based on your system 32 (X86) or 64 bit
  5. Once downloaded, you will get a zip file
  6. Right click on the zip file and extract in your local disk
    (Preferably not in C driver -  (Desktop))
  7. Inside the folder you will eclipse.exe file
    Optional: Right click on eclipse.exe and select send to Desktop - To create a short cut for future easy use
  8. Double click to launch the editor
  9. Choose WorkSpace in any location and click launch
Note: Eclipse is direct run able software you need not to install
           WorkSpace is a folder where all your projects are going to be saved

That's all for now!
In next tutorial we will see how to create Maven Project

Spread the Love! Share post ♥ Comments are always welcome
Thanks for being here!
Happy learning!

Comments

Popular posts from this blog

Download Files (PDF, exe) using FireFox

It is so obvious that we all know when ever we try to download files it open a new window where we have to locate the folder and save or by default it downloads in DOWNLOAD folder, and we all knew we cannot automate such scenario using Selenium. So what are the solution till day ? Using Java Robot Class Using AutoIt Using Sikuli Using Java Robot Class - Disadvantage: If other windows is opened it will type in the pointer which is not handy Using AutoIt - Disadvantage: It is not quite easy, we have to store an executable file and to do the operation which is time consuming Using Sikuli - Disadvantage: Sikuli works on the basis of pattern matching (OCR), If the Operating System changes then it will not work. It is very time consuming How about if we can do the task using Selenium itself  ?  Let's have a look on the code: Check out this link to download using Chrome Click Here ! That's all for now! Spread the Love! Share post ♥ Comments are...

Launching Browser

To begin with our first code, let's organize our packages to make it better for viewing and understanding In eclipse every folder is known as Package Points to noted : 1) Package name starts with lower case 2) Class name Starts with upper case Let's create a package Let's create a Java Class Let's launch all browsers one by one: Chrome FireFox InternetExplorer

Hands On Maven (First Project)

What is Maven? Maven is an automation build tool which is based on POM (Project Object Module). Maven has so many feature, we will discuss it later. As of now lets create our first project. Steps to be followed: File -> New Project Click Maven -> Maven Project -> Next Check Create Simple Project -> Next Type in Group Id  Type in Artifact Id (It is your project name)  As soon as you crated a project it will take time to load maven settings. Once loaded you can see the project structure in Package Explorer Now double click on pom.xml and select the pom.xml tab in right hand side After the version tag add the maven dependencies As soon as you added the dependencies and save the file (CTRL + S) it will starts downloading required files from Maven repo Once the downloaded are completed you able to see a Maven Dependencies in the Package Explorer Advantage of Maven: Single dependency will internally call others required de...