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.
The proper definition is called Test Plan or Test Case, however, many people use the terms interchangeably, but that can be confusing.
A test script, is in fact, an automated script that runs and tests software components, objects, etc. and reports its findings. These are configurable. (IEEE, SWEBOK --Software Engineering Book of Knowledge)
Younger testers commonly misuse this term "test case" due to lack of experience or not knowing that this has been defined many years ago, and it is documented in IEEE, ISO and IEC.([http://www.testingstandards.co.uk/bs_7925-1.htm BS 7925-1]; [http://www.softwaretestingstandard.org/ ISO/IEC/IEEE 29119] "International Software Standard"<ref name="undefined" />
There are various means for executing test scripts.