Results 1 to 9 of 9

Thread: What is the relationship between Test Scripts and Test Cases?

  1. #1
    Junior Member
    Join Date
    Dec 2006
    Answers
    20

    What is the relationship between Test Scripts and Test Cases?

    What is the relationship between Test Scripts and Test Cases?

    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.

    Last edited by jainbrijesh; 06-06-2007 at 02:32 AM.

  2. #2
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: Testing

    Test scripts is also test cases executed by tools.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  3. #3
    Contributing Member
    Join Date
    Mar 2007
    Answers
    42

    Re: Testing

    Test Scripts - When we are using any automation tool we call the recorded scenario as Test Script
    Test Case - If the approach is Manual Testing the we say Test Case


  4. #4
    Contributing Member
    Join Date
    May 2006
    Answers
    78

    Re: Testing

    Test Script is a collection of steps to test an action ( e.g enter username) in your product

    Test Case is a collection of Test Scripts ( e.g username and password) designed to test a requirement

    Test Cycle is a collection of Test Cases (login operation)
    designed to test a release.


  5. #5
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: Testing

    Test Script is a programmatic version of a Test Case.

    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

  6. #6
    Junior Member
    Join Date
    Dec 2006
    Answers
    20

    Re: Testing

    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.

    Last edited by irinak; 06-01-2007 at 09:27 AM.

  7. #7
    Junior Member
    Join Date
    Jul 2006
    Answers
    18

    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.


  8. #8
    Junior Member
    Join Date
    Oct 2006
    Answers
    6
    I need know what is test script? how to start writing the test script?

    Thanks for your reply.



    Quote Originally Posted by cgajanan View Post
    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.


    Last edited by jainbrijesh; 07-30-2007 at 08:05 AM.

  9. #9
    Junior Member
    Join Date
    Jul 2007
    Answers
    2

    Re: I need know what is test script

    Test Script is the code generated from the scratch using the Automated tool.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact