Skip to main content

7 Essential points you need to know about selenium automation frameworks


Introduction

In this blog "Selenium Foundation Program", we will talk about selenium web-Driver foundation concepts for automation frameworks and understand "when to use these concepts" and "which type of selenium web-Driver automation framework" to be used, and we will also discuss very basics about selenium IDE and Web-Driver with java code.

The main objective of this foundation blog is to help the Selenium automation tester to gain knowledge on Web-Driver skills. Here, we will explain clearly on “what type of selenium automation framework to be used” and “when to use that specific type of selenium automation framework”. We will also discuss some popular selenium web-driver framework interview questions.


What is Selenium API?

Selenium API is a free portable and convenient open source automated testing suite for web applications. This is quite similar to HP Unified Functional Testing (UFT) only that Selenium focuses on automating web-based applications across different browsers.

Why the Name Selenium?

"Selenium" is an antidote for mercury poisoning and during development stage of selenium core, there was another automation product developed by Mercury Interactive (Which is later acquired by HP). So Jason suggested that name “Selenium” to his team members.

Brief introduction to different types of Selenium tools:

 Now-a-Days most of the software applications are designed as web-based applications which run on different browsers. The effectiveness of testing these web-based applications varies widely and "Selenium" is a one of the test automation suite which is mostly used in companies and organizations these days.


Selenium suite is composed of multiple software tools listed below and each of these tools have specific role in test automation.

Selenium Tools:
  • Selenium Core
  • Selenium RC
  • Selenium Grid
  • Selenium IDE
  • Selenium Web-Driver

Birth Picture of Selenium Tools:

In 2006 an engineer from Google engineer named Simon Stewart started to work on a project called Web-Driver. This Web-Driver testing tool directly interacts with the browser and Operating system using 'native’ method, thus avoiding the restrictions of a sand-boxed Java-script environment.


Later, On August 6-2009, Selenium test automation tools "Selenium Web-Driver" and "Selenium RC" are merged to form a powerful tool called "Selenium-2" with Web-Driver being the core.


Supporting Browser's and Environment / Platform for Selenium-2:

Selenium 2 (aka. Selenium Web-Driver):
  1. Does not have both IDE and programming interface. It has only programming interface.
  2. Supports browsers like Chrome, Firefox, IE, Safari and Opera.
  3. Supports operating system like Windows, Linux / Unix, Mac, Android and iOS.
  4. Supports programming languages like C#, Perl, Python, Node.js, Ruby, .Net, PHP, Java etc...

Conclusion:

  • Selenium automation Suite has four components: Selenium IDE, Selenium RC, Web-Driver, Selenium Grid.
  • Selenium IDE, a Firefox add-on that you can only use in creating relatively simple test cases and test suites. (Click here to know more about Selenium IDE)
  • Selenium Remote Control, also known as Selenium-1, which is the first Selenium tool that allowed users to use programming languages in creating complex tests.
  • Selenium Web-Driver, the newer breakthrough that allows your test scripts to communicate directly to the browser, thereby controlling it from the OS level.
  • Selenium-Grid is also a tool that is used with Selenium RC to execute parallel tests across different browsers and operating systems.
  • Selenium RC and Web-Driver was merged to form Selenium-2.
  • Selenium supports different browsers, programming language & operating system.

Comments

Popular posts from this blog

Guide to install selenium web-Driver from selenium foundation program

Selenium foundation program: Before installing Java for Selenium Web-driver framework automation, install Java Development Kit (JDK) and Java Run-time Environment (JRE) on your windows computer. Navigate to Oracle Official site here . Click on “Download” button as shown below Click on “Accept License Agreement”, which are displayed upon clicking “Download button. Check your operating system and download the file. (32bit / 64bit)    Quickly run the downloaded installer, which installs both the JDK ( Java Development Kit ) and JRE ( Java Run-time ). Install JDK and by Default Java installs at this place “C:/Program Files/Java”. Java folder contain two folder of name “jdk1.8.0_111” and “jre1.8.0_111” as shown below. Setting up System variables & ClassPath – Follow below screens: Right Click on My Computer. Now click on Advanced System Setting. System Variables setu-p: ClassPath Setu-p: Check the installation using CMD prompt. Cli

Everything You Need To Know About Sikuli A GUI automation tool

Selenium Sikuli for Visual flows automation: Introduction: Selenium Sikuli , A tool to automate the GUI test scripts using image recognition method. Sikuli allows users to automate visual work flows using a screenshots (specific method called “ Visual Image Match ”), in this method all the elements of the webpage are snipped and saved in .png / supported file formats. Sikuli, by using “Visual Image Match” algorithm, it will match the stored image with the image on the web-elements and performs the scripted action. Practical Uses: Ø Useful to automate Flash objects Ø Automating stable GUI components / Objects / Web-elements Ø Automating window based applications Ø Used to automate Audio/Video player, Desktop & Flash games on websites Sikuli Benefits: Ø Free Open Source Automation Tool Ø Automating flash enabled web-elements and objects Ø Can automate web-elements without ID/Name Download Sikuli Jar files: Ø

Selenium Foundation Program - Introduction to Selenium

Introduction to Selenium What is Selenium Tool? Selenium is a free (open-source) automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Pro (QTP) / HP Unified Functional Test (UFT) only that Selenium focuses on automating web-based applications. Selenium is not just a single tool; Selenium is a suite of software's , each component has its own advantages and disadvantages. Click here to know more about  Selenium birth picture &  Selenium components . What are the features of selenium automation tool? Ø Selenium is Free and open-source tool. Ø Automation of AJAX/CSS applications is easy. Ø Good cross browser testing tool. Ø Contains record and playback ( Selenium-IDE ) facility. Ø Best for GUI-intelligent field selection (uses IDs, names, or X-Paths as needed). Ø Auto-complete feature available in IDE for all common commands. Ø User-friendl