Prepare for your Next Interview
This is a discussion on difference between test cases,test scenario,and test suite? within the Test Cases forums, part of the Software Testing category; hello i m doing manual testing ,plz suggest me how i m prepare for an interview...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Re: difference between test cases,test scenario,and test suite?
test case is a document that contains input data and the expected values.
Test scenarios is a one single complete task like if you want to update your records in a database then it is acomplete task. test suite is a set of test cases or we can say that it is a database of test cases. |
|
|||
|
Re: difference between test cases,test scenario,and test suite?
A test scenario can tell the brief functionality of the application like withdraw money from the atm. A test scenarion can contain many no of test cases.
A test case is authored based on the test scenario. Which contains the detailed setps to achive the functionality and preconditions to be taken & the expected result. For the above scenarion we can write both postive and negative test cases. To withdraw money from atm, the positive case is the account should have sufficient balance and negative case is accout is not having required balance. For this we can write teh positive test cases as: 1. Withdraw money in the correct bank 2. Withdraw money by using correct atm card 3. Withdraw money by suing cirrect pin 4. Enter the correct amount that was available in the account 5. Enter the amount that should not cross the overlimt to withdraw in a day. 6. Take the money from atm machine when it comes Like this we can write negative testcases also. Hope it can help. Regards, Srija Last edited by srija : 05-14-2008 at 03:52 AM. |
|
|||
|
Re: difference between test cases,test scenario,and test suite?
hai i' m abu
hi kishoresqa ur correct every body has their own definitions about test case and test scenario.....its up to their knowledge |
|
|||
|
Re: difference between test cases,test scenario,and test suite?
Hi,
A test case is a statement with some defined input/ output values for the function under test. A test scenario is a situation or a condition for which testing needs to be done. A test suit is a collection of test cases comprising of specific or all the test conditions with respect to an application. e.g. Loginn is a scenarion. To check with all valid and invalid inputs are the test cases. And coolection of these all is a Test suit. Regards, Ajay |
|
|||
|
Re: difference between test cases,test scenario,and test suite?
Test case is set of design steps for one test scenerio.
Test scenerio is like a business process,splitting the several processes into simple steps are called test cases. |
| The Following User Says Thank You to tinash For This Useful Post: | ||
|
|||
|
Re: difference between test cases,test scenario,and test suite?
Hi
Scenario : It comes before preparing the Test Cases(Eg :Scenario1 : Login into the application with valid data 2 : Login into the application with invalid data) Test Case : To check the working of Certain functionality of an application(above scenorio 2) (Eg : 1.Verify login process with valid Username and Invalid password 2.Verify loging process with invalid username and valid password 3.Verify login process with both username and password invalid) Test Suite : To maintain the group of test Cases (Related) with Unque Test suite Id. for Eg : if First Test Case failed in that group, No need to test the remaining Test Cases all Test cases will be failed or Blocked. |
|
|||
|
Re: test case and test senerio
Hi Sridevi,
Thanks for such a great explanation. I would like to add something to this discussion. Test cases are the actions to test the functionalities of the application. However, test scenerios are based on the URS. Normally there are two types of flows in the URS- Basic and alternate. In basic flows it explains how the application will work as per user's requirement and alternate flows describes the other possiblities. So, we used to consider scenerios based on these two types of flows. One is normal flow which is positive and the second one is alternate which is negative. For example , in the user name field, if URS specifies, it should accept alphbates in the range 8-10. then we will check the same in basic flow and other than this specifiec condition will be checked in the alternate flow. Please correct me if I am wrong. This is great web site to share and gain knowledge. Thanks Rubul Sarma Rubulsarma@rediffmail.com Quote:
|
|
|||
|
Re: difference between test cases,test scenario,and test suite?
Simply you can make test plan .Test plan than test scenario.Test scenarios than test cases.
TEST CASES:A test case in software engineering 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. In order to fully test that all the requirements of an application are met, there must be at least one test case for each requirement unless a requirement has sub-requirements. In that situation, each sub-requirement must have at least one test case. TEST SCENARIO: Scenario testing is a software testing activity that uses scenario tests, or simply scenarios, which are based on a hypothetical story to help a person think through a complex problem or system. They can be as simple as a diagram for a testing environment or they could be a description written in prose. The ideal scenario has five key characteristics. It is (a) a story that is (b) motivating, (c) credible, (d) complex, and (e) easy to evaluate. These tests are usually different from test cases in that test cases are single steps and scenarios cover a number of steps. Test suites and scenarios can be used in concert for complete system testing. TEST SUIT:In software engineering, a test suite, also known as a validation suite, is a collection of test cases that are intended to be used as input to a software program to show that it has some specified set of behaviors. Test suites are used to group similar test cases together. A system might e.g. have a smoke test suite that consists only of smoke tests or a test suite for some specific functionality in the system. A test suite often contains detailed instructions or goals for each collection of test cases and information on the system configuration to be used during testing. A group of test cases may also contain prerequisite states or steps, and descriptions of the following tests. Collections of test cases are sometimes incorrectly termed a test plan. They may also be called a test script, or even a test scenario I hope helps you |
|
|||
|
Re: difference between test cases,test scenario,and test suite?
Dear Friends,
In Simpler terms,a test scenario can be further divided into n number of test cases.But a test case cannot be further divided. Test scenario describes the end requirement. |
|
|||
|
Hi,
The basic difference between a Test Case and Test Scenario is Test Scenario is one where in you tell the possible way of executing the functionality, positive or negative but in a short term. Just like a short essay. Example: Check if the User is able to perform a positive transaction. Test Case is one where in you explain each and every step to execute the above said functionality, positive or negative, in a descriptive manner. Example: 1. Login 2. Go to the respective page 3. Create a transaction 4. Submit it In simple terms, Group of Test Cases can form a Test Scenario. One or more Test Scenarions cover a Requirement. ![]() Last edited by aarchu82 : 2 Weeks Ago at 03:15 AM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| If test case required for testing always post test scenario. | jainbrijesh | Test Cases | 12 | 07-31-2008 01:55 AM |
| Uploading Test Cases into Quality Center and Test Director | Rajani | Test Director | 2 | 05-13-2008 04:27 AM |
| Difference b/w Test case and Test? | jainbrijesh | Test Cases | 5 | 06-20-2007 12:23 AM |
| What is the difference between test cases and test scripts? | sakshi_2801 | Test Cases | 3 | 05-11-2007 08:50 AM |
| Add test cases to test director | JobHelper | Test Director | 3 | 04-19-2007 06:44 AM |