Getting Started with Selenium Automation Testing

0
208
Selenium automation testing

What is Selenium?

Selenium is an automation testing tool developed at Thoughtworks for an internal use, which allows you to create or test your web application. Are you Java Master? The geek in PHP? Or Legend in Python? No matter what language you are using, it is available in all language.

Most of the developers preferring Java to start Automation testing with selenium

To Get into the lesson, we must know the history of the tool and previous tool of Automation.

Before Selenium:

Before this, it is QTP. Mercury Interactive Corp originally acquires QTP. After that on July 25th, 2006 HP(Hewlett-Packard) bought Mercury Interactive Corp. At that time QTP is No 1 Testing tool. To beat QTP, Selenium was developed, and within two years of development, it becomes a most popular testing tool.

A reason behind the name Selenium?

The Reason behind this may be, in chemistry, no chemical element will dilute Mercury’s poison except one, and that is the Selenium. As like chemical reaction, it also works here as it dilutes QTP.

Before we start our lesson, you must have knowledge on below points.

  • Java/PHP/Python/Ruby/C#(Anyone)
  • What is Automation and Why?
  • Basics of HTML
  • Basics of CSS
  • Essential of JavaScript

Installation Guide for Java developers:

  1. Install Eclipse software.
  2. Download and install JRE as per your requirements.
  3. Download Selenium jar file from their official website.
  4. Do you love Google Chrome to testing? Then install this Chrome driver.
  5. Testing goes easier in Firefox. Download the Gecko Driver.

Installation Guide for PHP developers:

  1. Install Eclipse software.
  2. Download and install JRE as per your requirements.
  3. Download the jar file on their official website.
  4. Do you love Google Chrome to testing? Then install this Chrome driver.
  5. Testing goes easier in Firefox. Download the Gecko Driver.
  6. Download and install PHPUnit.

Note: Installation Step of PHPUnit is available on PHPUnit website. If you find any trouble on this, please watch our video and get clarity.

Advantages:

  • Free for everyone. Yes, It’s an Open Source.
  • Multiple Browsers, Various Operating Systems.
  • Cloud-based testing tool.
  • N-Number of tests at a time.
  • It Supports in five browsers.
  • It Supports Nine different languages. That’s a Power.
  • It is Lightweight.Yes, low consumption of CPU+RAM.

Disadvantages:

  • We can test only web based apps.
  • It Requires high coding skills.
  • No appropriate Tech Support.
  • Dialogue box support is less in it.
  • Image based testings are hard to perform.
  • The timing of script creations is long.

Tips: Latest and Compatible version Suggestion for PHP Developers:

PHP 7.0 + PHPUnit 6.2 + Selenium 3.4.0

Next Topic: Syllabus of this Automation Testing.


LEAVE A REPLY

Please enter your comment!
Please enter your name here