Test script: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
No edit summary
 
imported>DigitalIceAge
m No longer a stub
 
Line 9: Line 9:
== Types of test scripts ==
== Types of test scripts ==
There are various means for executing test scripts. These last two types are also done in manual testing.
There are various means for executing test scripts. These last two types are also done in manual testing.
* [[Manual testing]].<ref>{{cite web|url=https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.rational.test.qm.doc/topics/t_construct_scripts.html&scope=null|title=Help - IBM Rational Software|website=jazz.net|access-date=2018-09-12}}</ref><ref>{{cite web|last=Kaner |first=Cem |url=http://www.testingeducation.org/articles/fundamental_challenges_in_software_testing_presentation.pdf |title=Fundamental Challenges in Software Testing |year=2003 | publisher=Florida Tech |page=35 |access-date=2018-09-12}}</ref> These are more commonly called [[test case]]s.
* [[Manual testing]].<ref>{{cite web|url=https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.rational.test.qm.doc/topics/t_construct_scripts.html&scope=null|title=Help - IBM Rational Software|website=jazz.net|access-date=2018-09-12}}</ref><ref>{{cite web |last=Kaner |first=Cem |url=http://www.testingeducation.org/articles/fundamental_challenges_in_software_testing_presentation.pdf |title=Fundamental Challenges in Software Testing |year=2003 |publisher=Florida Tech |page=35 |access-date=2018-09-12 |archive-date=2021-11-16 |archive-url=https://web.archive.org/web/20211116052408/http://www.testingeducation.org/articles/fundamental_challenges_in_software_testing_presentation.pdf |url-status=dead }}</ref> These are more commonly called [[Test case (software)|test case]]s.
* [[Automated testing]].
* [[Automated testing]].
** 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 (such as [[HP QuickTest Professional]], [[SilkTest|Borland SilkTest]], [[IBM TPNS]] and [[Rational Software|Rational Robot]]) or in a well-known [[programming language]] (such as [[C++]], [[C Sharp (programming language)|C#]], [[Tcl]], [[Expect]], [[Java (programming language)|Java]], [[PHP]], [[Perl]], [[Windows Powershell|Powershell]], [[Python (programming language)|Python]], or [[Ruby programming language|Ruby]]). As documented in IEEE, ISO and IEC.<ref>{{cite web|url=http://www.testingstandards.co.uk/bs_7925-1.htm|title=BS 7925-1|website=testingstandards.co.uk|access-date=2018-09-12}}</ref><ref>{{cite web|url=http://www.softwaretestingstandard.org/|title=ISO/IEC/IEEE 29119 Software Testing Standard|website=softwaretestingstandard.org|access-date=2018-09-12}}</ref>
** 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 (such as [[HP QuickTest Professional]], [[SilkTest|Borland SilkTest]], [[IBM TPNS]] and [[Rational Software|Rational Robot]]) or in a well-known [[programming language]] (such as [[C++]], [[C Sharp (programming language)|C#]], [[Tcl]], [[Expect]], [[Java (programming language)|Java]], [[PHP]], [[Perl]], [[Windows Powershell|Powershell]], [[Python (programming language)|Python]], or [[Ruby programming language|Ruby]]). As documented in IEEE, ISO and IEC.<ref>{{cite web|url=http://www.testingstandards.co.uk/bs_7925-1.htm|title=BS 7925-1|website=testingstandards.co.uk|access-date=2018-09-12}}</ref><ref>{{cite web|url=http://www.softwaretestingstandard.org/|title=ISO/IEC/IEEE 29119 Software Testing Standard|website=softwaretestingstandard.org|access-date=2018-09-12}}</ref>
Line 34: Line 34:


[[Category:Software testing]]
[[Category:Software testing]]
{{Soft-eng-stub}}

Latest revision as of 02:39, 26 October 2025

Script error: No such module "Unsubst".

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.

Types of test scripts

There are various means for executing test scripts. These last two types are also done in manual testing.

Usage and functionality

Automated testing may be executed continuously without the need for human intervention, they are easily repeatable, and often faster. Automated tests are useful in situations where the test is to be executed several times, for example as part of regression testing. Automated tests can be disadvantageous when poorly written, leading to incorrect testing or broken tests being carried out.[5]

Automated tests can, like any piece of software, be poorly written or simply break during playback.[6] They also can only examine what they have been programmed to examine. Since most systems are designed with human interaction in mind, it is good practice that a human tests the system at some point. A trained manual tester can notice that the system under test is misbehaving without being prompted or directed; automated tests can only examine what they have been programmed to examine. 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. Mixed testing, with automated and manual testing, is often used; automating what needs to be tested often and can be easily checked by a machine, and using manual testing to do test design and exploratory testing.

One should consider the return on investment for automating any given test script, i.e. does the cost to build and maintain that script cost less than it would take to simply execute it manually. Where cost can be measured in terms of time and/or money but also the opportunity cost of not freeing up people to do other work.Script error: No such module "Unsubst".

See also

References

<templatestyles src="Reflist/styles.css" />

  1. ↑ Script error: No such module "citation/CS1".
  2. ↑ Script error: No such module "citation/CS1".
  3. ↑ Script error: No such module "citation/CS1".
  4. ↑ Script error: No such module "citation/CS1".
  5. ↑ Script error: No such module "citation/CS1".
  6. ↑ Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".