SURESHKUMAR.NET FORUMS
Registered Member Login:
Not a member? Register today!



Welcome to the SURESHKUMAR.NET FORUMS.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.




TEST CASES

        

Reply
 
LinkBack Thread Tools Display Modes
Old 21-03-07, 01:33 PM   #1 (permalink)
Senior Member
 
simhadri44's Avatar
 
Join Date: Oct 2006
Age: 28
Posts: 199
Thanks: 77
Thanked 25 Times in 18 Posts
Rep Power: 7 simhadri44 is a jewel in the rough simhadri44 is a jewel in the rough simhadri44 is a jewel in the rough
Red face TEST CASES

In software engineering, the most common definition of a 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. 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. This is frequently done using a Traceability matrix. Some methodologies, like RUP, recommend creating at least two test cases for each requirement. One of them should perform positive testing of requirement and other should perform negative testing. Written test cases should include a description of the functionality to be tested, and the preparation required to ensure that the test can be conducted.
If the application is created without formal requirements, then test cases can be written based on the accepted normal operation of programs of a similar class. In some schools of testing, test cases are not written at all but the activities and results are reported after the tests have been run.
What characterizes a formal, written test case is that there is a known input and an expected output, which is worked out before the test is executed. The known input should test a precondition and the expected output should test a postcondition.
Under special circumstances, there could be a need to run the test, produce results, and then a team of experts would evaluate if the results can be considered as a pass. This happens often on new products' performance number determination. The first test is taken as the base line for subsequent test / product release cycles.
Written test cases are usually collected into Test suites.
A variation of test cases are most commonly used in acceptance testing. Acceptance testing is done by a group of end-users or clients of the system to ensure the developed system meets their requirements. User acceptance testing is usually differentiated by the inclusion of happy path or positive test cases.



Structure of test case

Formal, written test cases consist of three main parts with subsections:

* Information contains general information about Test case.
o Identifier is unique identifier of test case for further references, for example, while describing found defect.
o Test case owner/creator is name of tester or test designer, who created test or is responsible for its development
o Version of current Test case definition
o Name of test case should be human-oriented title which allows to quickly understand test case purpose and scope.
o Identifier of requirement which is covered by test case. Also here could be identifier of use case or functional specification item.
o Purpose contains short description of test purpose, what functionality it checks.
o Dependencies
* Test case activity
o Testing environment/configuration contains information about configuration of hardware or software which must be met while executing test case
o Initialization describes actions, which must be performed before test case execution is started. For example, we should open some file.
o Finalization describes actions to be done after test case is performed. For example if test case crashes database, tester should restore it before other test cases will be performed.
o Actions step by step to be done to complete test.
o Input data description
* Results
o Expected results contains description of what tester should see after all test steps has been completed
o Actual results contains a brief description of what the tester saw after the test steps has been completed. This is often replaced with a Pass/Fail. Quite often if a test case fails, reference to the defect involved should be listed in this column.

Not all written tests require all of these sections.


Last edited by sridhar; 21-03-07 at 04:51 PM..
simhadri44 is offline Offline   Reply With Quote
The Following 4 Users Say Thank You to simhadri44 For This Useful Post:
AjayKumar.Kataram (20-02-09), mahesh35 (04-07-07), smart_kalyan (04-04-07), suresh_edk (23-02-09)
Old 20-02-09, 11:41 PM   #2 (permalink)
Senior Member
 
Join Date: Aug 2006
Location: Hyderabad,India
Age: 30
Posts: 8,044
Thanks: 2,105
Thanked 400 Times in 296 Posts
Rep Power: 122 AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute AjayKumar.Kataram has a reputation beyond repute
Re: TEST CASES

nice one..
AjayKumar.Kataram is offline Offline   Reply With Quote
Old 23-02-09, 09:42 AM   #3 (permalink)
Senior Member
 
aforarun's Avatar
 
Join Date: Sep 2007
Location: Bangalore
Age: 27
Posts: 171
Thanks: 33
Thanked 130 Times in 40 Posts
Rep Power: 17 aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of aforarun has much to be proud of
Re: TEST CASES

Good Post....
__________________
Arunsankar
Value has a Value-Only if its Value is Valued
aforarun is offline Offline   Reply With Quote
Reply

Tags
cases , test


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help regarding CSTM raji6ft Testing Tools & QA 21 25-03-09 10:18 AM
Mega Free Download S/W Links A-Z yathish OTHERS 516 21-03-09 10:06 AM
FAQ'S slinkanand Testing Tools & QA 3 16-01-07 01:51 PM
test the test cases slinkanand Testing Tools & QA 2 23-10-06 02:13 PM


All times are GMT +6.5. The time now is 12:54 AM.

More Interview Questions Here...

Content Relevant URLs by vBSEO 3.3.0