What is test script with example?

What is test script with example?

In software testing, a test script is a set of instructions that will be executed on the system under test to ensure that it performs as expected. Test scripts can be run in a variety of ways. Testing is done by hand. These are frequently referred to as test cases. Testing that is carried out automatically.