What is the difference between Test Case and Test Script ?

Showing Answers 1 - 36 of 36 Answers

mk

  • Jan 25th, 2007
 

Test Case is the systemetic approch/steps to test the module/object/funtionality.

Test Script is automating a funtional test case into automation program, or converting funtional test case into tool programing language.

(script is nothing but automation programing language)

  Was this answer useful?  Yes

aparna_susarla

  • Jan 31st, 2007
 

A test case is a document which explains the action performed in particular application and group of trest cases is called as test script

  Was this answer useful?  Yes

dhana

  • Feb 1st, 2007
 

test case is a piece of functionality which we are going to test It contains description,preconditions and acceptance criteria.Test script contains steps to cover that tetst case

chilu

  • Feb 9th, 2007
 

A test script is a short program written in a programming language(C, C++, or TSL) used to test part of the functionality of a software system.Test case is a set of conditions or variables under which a tester willl determine if a requriement or use case upon an application is partially or fully satisfied.

  Was this answer useful?  Yes

test case is a set of conditions or variables under which a tester will determine if a requirement or use case upon an application is partially or fully satisfied. It may take many test cases to determine that a requirement is fully satisfied.A test script is a short program written in a programming language used to test part of the functionality of a software system. A written set of steps that should be performed automatically can also be called a test script,

  Was this answer useful?  Yes

Nimesh Shirke

  • Nov 21st, 2007
 

A Test Case explains the actual senario to be tested.

A Test Script consists of the code/ program/ technical terms/ tags etc. essential to cover the senario.

  Was this answer useful?  Yes

mithr17

  • Nov 1st, 2011
 

I have something to add about test script.

Test script in automation testing world is the automation script - the small piece of code.

Test script in manual testing is 1 complete test scenario. For SaaS (software as a service) type applications, one cannot write test cases as the site undergoes configurable changes with each release and thus the functional flow will keep changing. But the high level business flow will remain the more or less the same with minor tweaks.
So test scripts templates are created and used by QA to detail new scenarios. If we were to write test cases for these scenarios, we may end up with 1 + test case for each scenario. Therefore, test script can be correctly called as a grouping of test cases to run a test scenario.

Test scripts are usually written in excel sheets. Steps, expected results for each step, pass/fail status of each test, comments at each step are commonly part of a test scenario.

  Was this answer useful?  Yes

Test Cases are collection of instructions which are recorded only for verifying some certain functionality.

These are derived from test condition.

And Test scripts tells about which test case will be executed first means the sequence.

Test scripts are otherwise called as test procedure.

  Was this answer useful?  Yes

lishaeva

  • Jan 13th, 2012
 

Test case is a set of conditions we write for which we know the expected output.It may be negative or positive.
For ex: (To enter username)
case: expected o/p actual o/p
1. Check whether ur able to enter the name...... yes able
2. Check for correct username. yes able
3. Check for invalid name(spec char,numbers if req) display err msg disable
(similar approach.)
Note that the number of test cases should be less but should include all the conditions.

Test Scripts are the codes written for the same.It may be in any language depending on the tool. Most often Java and VB are used.

To be vivid, test cases are like flow charts/algorithms used to write a code/script.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions