A test script is a short program that is written in code, to perform a set of instructions in the application. This is done to verify if the application works as desired. The program will run the script and tell if it runs smoothly or if it has errors.