In an agile business, automation is becoming an essential process. Companies are now taking advantage of automation testing tools to increase their efficiency and productivity. Automation is frequently evangelized as the cure-all of software quality woes. Some of the benefits that accrue from automated tests include test reusability, repeatability and coverage besides the savings on effort, time and cost it takes for execution (compared to manual testing). However it’s NOT the answer for everything. Test automation, while being able to improve numerous aspects of software development, has limitations that developers and quality assurance teams should be aware of from the start. Understanding these limitations of automation testing will help us devise an efficient & effective automation strategy.
Every automation tool just provides a way to navigate >> identify >> perform >> repeat. So before moving further on our Selenium series, let’s look at the most common Page elements & User actions to automate.
Let’s learn how a webpage is rendered in a browser OR the HTML coding basics OR how can Selenium identify the elements on a webpage, uniquely!
Checkpoints refer to a validation point that compares the current value with the expected value for specified properties of an object.
Encountering a gecko driver error as you start scripting for Mozilla Firefox using the latest Selenium 3.0.0 Beta release? Know what has changed now!
Parameterization tells UFT how & from where to fetch the Test Data for running the Test cases. One of the simplest method – using the Data Table!
Now that you have downloaded Java, Eclipse and Selenium Webdriver – let’s see how to configure Eclipse with Selenium WebDriver.
In UFT context, View is the GUI representation to facilitate automation scripting. Apart from the code editor UFT offers a Keyword view for non-programmers.
Selenium supports multiple languages, by using language-specific client driver. Since we will be using Java, let’s download WebDriver Java Client.
Eclipse is the most widely used Java IDE in the programming world. It contains a base workspace and an extensible plug-in system for customizing the environment. Eclipse itself is written mostly in Java and its primary use is for developing Java applications, but it may also be used to develop applications in other programming languages through the use of plugins. Continuing on our zeal to learn automation via Selenium, let’s learn how to download and start Eclipse IDE.
What are the pre-requisites to writing automation scripts in Selenium? Obviously, you need the tools first. Additionally you need to finalize the programming language you will be using to write test scripts and install the associated IDE. As ‘Java’ is the most popular & widely used programming language across the world (both for development & automation testing) – we will be focusing on writing scripts in Java using Selenium. For that first you need to have the ‘Java Development Kit’, Eclipse IDE and Selenium WebDriver. Let’s start with installing ‘Java Development Kit’, popularly known as JDK.
The biggest name in ‘Software Testing’ now-a-days, or at least from few years – Selenium. What’s Selenium? The Android of Web Automation! And what makes it so popular? Yeah! Its open source, but – though free it still need to be useful to gain popularity of such momentum. What makes it so appealing? So useful? Appropriate? Easy-to-use? Powerful? The answer is – Selenium WebDriver!
The first step for any aspiring Selenium enthusiast is to understand Selenium IDE. Why? Simple! Since many of us don’t know programming and it’s the easiest way to get started…