What is automated testing? Overview of Selenium testing tools

Tram Ho

1. What is automated testing?

1.1 Concept

Automated testing : Automating the processing of test cases, automated testing with a tool to shorten testing time.

Automated testing : is an automated technique in which testers write scripts and use appropriate software to test software. It is basically an automated process of a manual testing process. Like regression testing, automated testing is also used to test applications from the perspective of load, performance and stress.

Automated testing helps reduce testing costs by supporting the testing process through software tools.

Automated testing or using software to test with the advantages:

  • It is possible to perform tests on a continuous, repeatable basis and reduce testing staff costs.
  • Always ensure to operate under a single scenario – not as affected as with testers.

1.2 Automated testing process

Automated testing processes include : Testers use automation scripts and execute scripts to run applications with the help of automation tools. Once the script is ready, the test execution can be done quickly and efficiently.

Activities of automatic testing:

  • Request analysis / Environment definition / tool
  • Specify output criteria
  • Planning and control
  • Set up a testing environment
  • Implement test design
  • Execute the test
  • Analysis, report

1.3 Purpose of automated testing

Automated testing with the following purposes :

  • Reduce effort and time spent performing testing process
  • Increase reliability.
  • Reduce boredom for humans
  • Practice programming skills for testers
  • Reduce costs for total testing process

1.4 When is the test automatically?

When to test automatically:

  • Insufficient resources: When the number of TestCases is too much that the tester cannot finish in a specific time.
  • Regression test: Upgrade software, review features that have run well and those that have been fixed. However, this is difficult to guarantee in time.
  • Test the ability to operate the software in a special environment (Measure the average speed to handle a request of the Web server, determine the lowest machine configuration that the software can still function properly).

2. Some automated testing tools

Some tools that help in automated testing:

  • HP Quick Test Professional
  • Selenium
  • Visual Studio Test Professional
  • IBM Rational Functional Tester
  • TestComplete
  • Testing Anywhere
  • WinRunner
  • LaodRunner
  • SilkTest

3. Overview of Selenium testing tool

3.1 Introduction to Selenium

Selenium (commonly abbreviated as SE) is an automated software testing tool, developed by ThoughtWorks since 2004 with the original name JavaScriptTestRunner. By 2007, author Jason Huggins left ThoughtWorks and joined the Selenium team, part of Google and evolved into the current Selenium.

Selenium is an automated testing support tool for web-based applications. Selenium supports testing on most popular browsers such as Firefox, Internet Explorer, Safari, … as well as major operating systems such as Windows, Linux, Mac, …

Selenium supports a large number of programming languages ​​such as C #, Java, Perl, PHP, Python, Ruby, …

Selenium can combine a number of other tools such as Bromien and Junit, but for ordinary users, it only needs to run automatically without the need to install additional tools.

3.2 Components of Selenium

Selenium includes a set of tools that support automated testing of web application features including: Selenium IDE, Selenium Remote Control (RC), Selenium Web Driver and Selenium Grid.

Figure 3.2 Selenium structure

Selenium Integrated Development Environment – Selenium IDE: This is a built-in browser tool and quite simple for users, supporting Record operations to create test scripts and Playback on other browsers.

Selenium Remote Control – Selenium RC: For practical scenarios, it is necessary to perform complex test tasks with commands, Selenium RC maximum support for these jobs.

Selenium Grid : Supports testing performed in parallel browsers without script editing.

Selenium WebDriver: Is an API library to help build test cases on the basis of programming languages

3.3 Some advantages and limitations of Selenium

Advantages :

  • Open source: This is Selenium’s strongest point when compared to other test tools. Selenium has no copyright or shelf life.
  • The support community is quite strong, especially the developer is Google. Simple, easy to install, easy to work
  • Selenium supports many programming languages ​​and supports running on many different OSs. Easy to adjust through the plugin.
  • Support for selenium user-extensions.js files.
  • Autocomplete for all common Selenium commands.


  • Selenium only supports web applications
  • Applications on moblie cannot use Selenium
  • Selenium is a free tool, so there is no support from the vendor although help from a large number of Selenium users can be found.
  • Users need knowledge of programming languages


This article only hopes to help you understand the basics of what is automated testing, an overview of the automated testing tools Selenium. You need to learn more to be able to better understand Automation testing and this Selenium testing tool to effectively apply it to your work.




Share the news now

Source : Viblo