I know that test cases are written in human readable language, whereas test scripts are written in code and mostly done for automated testing.

But can anyone tell me what else make them different from each other?

Is there any logical difference between them or are these interchangeable terms?


I think the test-case is the what and the test-script is the how of the test.

Its possible to defined high level test-cases to describe what needs to be tested. The test-scripts contain all the detail to really execute the test.

  • means they are used together ? there is no boundary defined in what kind of system Test cases will be used and in which test scripts ? – Tehreem Fatima Nov 4 '15 at 13:40
  • 1
    I would think so, but the thing with terminology is that every standard, every company and every person will give it its own definition. I would always ask what the person in the context that I uses it thinks what it means to be sure. Never trust the definition in testing, because terms are often miss-used. – Niels van Reijmersdal Nov 4 '15 at 14:03

I think the two tend to be interchangeable but if you are studying for the ISTQB Foundations exam they will give specific definitions for each one.

Also, from my experience people in your team will always ask for test cases, I've never actually heard test scripts being referred to. (outside of Automated Test cases/scripts)


Test Scenario - A description of a situation to be tested.

Test Case - Contains specific data values for a scenario to be executed under specific conditions to produce a predicted result.

Test Script - A set of instructions that define each step to be taken and the expected results of each step.


I am expecting all answers must be aligned, But there is a difference.

  1. User[Non-technical] readable steps are mentioned to test particular scenario is called as Test Case
  2. User[Technical] readable steps written in programming language are referred as Test Script

Test Case :

  • A test case is a documentation which specifies input values, expected output and the preconditions for executing the test. [Reference - ISTQB book]
  • This terminology mostly used for Manual Testing

Test Script:

  • 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.
  • This terminology mostly used for Automation Testing

Script commonly refers to Automation

There is difference in using it interchangeably. But scripts generally refers to shell/perl/python scripts in computing. When you consider language(not programming languages) script is a word that refers to a document that has some information. So commonly test script refers to automation...


In my experience, both terms can be used in the manual testing context. As noted by others, test cases are lists of specific steps with an expected outcome. A test script is mostly the same thing, but not as specific. A test script might say" Test that the login page works, and that a password with these properties is required" A test case will have detailed steps about where to type, click or other actions.Both may or may not have input data. A script does not always spell out the exact outcome expected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.