Test script

Test script

A test script in Software Testing is a set of instructions that will be performed on the System Under Test to test that the system functions as expected. These steps can be executed manually or automatically.

There are various means for executing test scripts.
* Manually.
* Automated
** Short program written in a programming language used to test part of the functionality of a software system. Test scripts written as a short program can either be written using a special automated functional GUI test tool (HP QuickTest Professional, Borland SilkTest or Rational Software) or in a well-known programming language (such as C++, C#, Tcl, Expect, Java, PHP, Perl, Python, or Ruby).
** Extensively parameterized short programs a.k.a. Data-driven testing
** Reusable steps created in a table a.k.a. keyword-driven - or table-driven testing. These last two types are also don in manual testing.

The major advantage of "Automated testing"are that tests may be executed continuously without the need for a human intervention. Another advantage over manual testing in that it is easily repeatable, and thus is favoured when doing regression testing. It is worth considering automating tests if they are to be executed several times, for example as part of regression testing.

Disadvantages of automated testing are that automated tests may be poorly written and can break during playback. Since most systems are designed with human interaction in mind, it is good practice that a human tests the system at some point. Automated tests can only examine what they have been programmed to examine. A trained manual tester can notice that the system under test is misbehaving without being prompted or directed. Therefore, when used in regression testing, manual testers can find new bugs while ensuring that old bugs do not reappear while an automated test can only ensure the latter.

One shouldn't fall into the trap of spending more time automating a test than it would take to simply execute it manually, unless it is planned to be executed several times.

ee also

*Software testing
*Unit test
*Test plan
*Test suite
*Test case
*Scenario testing
*Session-based testing


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Test data — are data which have been specifically identified for use in executing test scripts, and are used to verify the expected results obtained.ee also*Software testing *Unit test *Test plan *Test suite *Scenario test *Session based test References *… …   Wikipedia

  • Test plan — A test plan is a systematic approach to testing a system such as a machine or software. The plan typically contains a detailed understanding of what the eventual workflow will be.Test plans in hardware developmentA test plan documents the… …   Wikipedia

  • Test suite — In software development, a test suite, less commonly known as a validation suite , is a collection of test cases that are intended to be used to test a software program to show that it has some specified set of behaviours. A test suite often… …   Wikipedia

  • Test harness — In software testing, a test harness or automated test framework is a collection of software and test data configured to test a program unit by running it under varying conditions and monitoring its behavior and outputs. It has two main parts: the …   Wikipedia

  • Test (unix) — test est une commande Unix qui permet de créer des expressions conditionnelles. Sommaire 1 Syntaxe 2 Description 3 Fonctions 3.1 Fonctions de chaînes de caractères …   Wikipédia en Français

  • Script.aculo.us — Entwickler: Thomas Fuchs Aktuelle Version: 1.8.2 (18. November 2008) Betriebssystem: plattformunabhängig Programmiersprache …   Deutsch Wikipedia

  • Script.aculo.us — Тип JavaScript библиотека Разработчик Thomas Fuchs …   Википедия

  • script.aculo.us — Тип JavaScript библиотека …   Википедия

  • script.aculo.us — Entwickler Thomas Fuchs Aktuelle Version 1.9.0 (23. Dezember 2010) Betriebssystem plattformunabhängig Programmier­sprache JavaScript …   Deutsch Wikipedia

  • Test de Charge — Test de performance Un test de performance ou benchmark est un test dont l objectif est de déterminer la performance d un système informatique. L acception la plus courante de ce terme est celle dans laquelle ces tests logiciels vont avoir pour… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”