What is the relationship between Test Scripts and Test Cases?
[b]What is the relationship between Test Scripts and Test Cases?[/b]
A test script is a document that describes in detail how a group of related tests should be conducted. A test script contains information outlining the test, defines the pre-requisites and contains a number of test cases. The user enters the outline and pre-requisite text and then links the test script to a number of test cases that will be contained within the test script. Every test script has a parent test design record and each test script record contains its core content similar to the other document types. Once you have created a test script you can associate zero or more test cases with the test script by 'including' them in the test script.
As test cases are added to a test script, test result records are created for each test case. Thus for a test script which contains a number of test cases, you will have the same number of test result records associated with the test script.
Re: I need know what is test script
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, however this is more correctly called a test case.
Any test that is written as a short program is regarded as an automated test. Test scripts written as a short program can either be written using a special manual functional GUI test tool or in a well-known programming language (such as C++, Tcl, Expect, Java, Perl, Python, or more recently, Ruby). Automated test tools can test many areas of system functionality such as the user interface, performance of the system, the system code and the requirements.
Automated testing has the advantage over manual testing in that it is easily repeatable, and thus is favoured when doing regression testing. This however is not always the case as automated tests may be poorly written and can break during playback. Since most systems are designed with human interaction in mind, it is good practice that a human tests the system at some point.
Re: I need know what is test script
Test Script is the code generated from the scratch using the Automated tool.