A Test Script is a sequence of instructions for executing a test case. It details the steps needed to perform the test, including inputs, actions and expected results. Test scripts guide testers through the testing process.
Key Elements:
- Test case ID or reference
- Preconditions (setup required before execution)
- Step-by-step instructions
- Expected outcomes for each step
- Postconditions (state after execution)
Test scripts can be manual or automated. They are essential for ensuring consistency and repeatability in testing.
