What is Test Case?

Answers were Sorted based on User's Feedback



What is Test Case?..

Answer / ramyasri

Hai...

A test case in software engineering is a set of conditions
or variables under which a tester will determine whether an
application or software system is working correctly or not

Test cases are often referred to as test scripts,
particularly when written. Written test cases are usually
collected into test suites.

Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    5 Yes 0 No

What is Test Case?..

Answer / swathi

Test case is a document which describes the step by step
procedure to validate the application functionality.

test case is action or an even that r going to be perform
in the applcation.

Is This Answer Correct ?    2 Yes 1 No

What is Test Case?..

Answer / jagriti sinha

A test case is a set of conditions or variables and inputs
that are developed for a particular goal or objective to be
achieved on a certain application to judge its capabilities
or features.
It might take more than one test case to determine the true
functionality of the application being tested.

Is This Answer Correct ?    2 Yes 1 No

What is Test Case?..

Answer / ravindramallikarjun

Test case
From Wikipedia, the free encyclopedia
Jump to:navigation, search
This article is about the term in software engineering. For
the use of the term in law, see Test case (law).
This article does not cite any references or sources.
Please help improve this article by adding citations to
reliable sources. Unsourced material may be challenged and
removed. (July 2009)
Portal-puzzle.svg Software Testing portal

A test case in software engineering is a set of conditions
or variables under which a tester will determine whether an
application or software system is working correctly or not.
The mechanism for determining whether a software program or
system has passed or failed such a test is known as a test
oracle. In some settings, an oracle could be a requirement
or use case, while in others it could be a heuristic. It may
take many test cases to determine that a software program or
system is functioning correctly. Test cases are often
referred to as test scripts, particularly when written.
Written test cases are usually collected into test suites.
Contents
[hide]

* 1 Formal test cases
* 2 Informal test cases
* 3 Typical written test case format
* 4 References
* 5 Test Case Management Software
* 6 External links

[edit] Formal test cases

In order to fully test that all the requirements of an
application are met, there must be at least two test cases
for each requirement: one positive test and one negative
test; unless a requirement has sub-requirements. In that
situation, each sub-requirement must have at least two test
cases. Keeping track of the link between the requirement and
the test is frequently done using a traceability matrix.
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.

A formal written test-case is characterized by a known input
and by 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.
[edit] Informal test cases

For applications or systems without formal requirements,
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.

In scenario testing, hypothetical stories are used to help
the tester think through a complex problem or system. These
scenarios are usually not written down in any detail. They
can be as simple as a diagram for a testing environment or
they could be a description written in prose. The ideal
scenario test is a story that is motivating, credible,
complex, and easy to evaluate. They are usually different
from test cases in that test cases are single steps while
scenarios cover a number of steps.
[edit] Typical written test case format

A test case is usually a single step, or occasionally a
sequence of steps, to test the correct
behaviour/functionalities, features of an application. An
expected result or expected outcome is usually given.

Additional information that may be included:

* test case ID
* test case description
* test step or order of execution number
* related requirement(s)
* depth
* test category
* author
* check boxes for whether the test is automatable and
has been automated.

Additional fields that may be included and completed when
the tests are executed:

* pass/fail
* remarks

Larger test cases may also contain prerequisite states or
steps, and descriptions.

A written test case should also contain a place for the
actual result.

These steps can be stored in a word processor document,
spreadsheet, database or other common repository.

In a database system, you may also be able to see past test
results and who generated the results and the system
configuration used to generate those results. These past
results would usually be stored in a separate table.

Test suites often also contain

* Test summary
* Configuration

Besides a description of the functionality to be tested, and
the preparation required to ensure that the test can be
conducted, the most time consuming part in the test case is
creating the tests and modifying them when the system changes.

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.

Acceptance tests, which use a variation of a written test
case, are commonly performed by a group of end-users or
clients of the system to ensure the developed system meets
the requirements specified or the contract. User acceptance
tests are differentiated by the inclusion of happy path or
positive test cases to the almost complete exclusion of
negative test cases.

Is This Answer Correct ?    1 Yes 0 No

What is Test Case?..

Answer / sj1234

Test Case has the Description of the Step to be performed
with the Expected Resullt and the Actual Result.
and

Is This Answer Correct ?    2 Yes 2 No

What is Test Case?..

Answer / naga sayan

A testcase is nothing but testing the difference between
the specified behaviour and the observed behaviour.If there
is no difference then we can conclude that the test is
success.

Is This Answer Correct ?    0 Yes 0 No

What is Test Case?..

Answer / jagriti sinha

A test case is a document which describe step by step how to test the application . It is a table with these contents.

input values,expected results, actual results and remarks.

Is This Answer Correct ?    0 Yes 0 No

What is Test Case?..

Answer / babu

Test case defines an unique test condition to validate the
correctness and completeness of a functionality.

Is This Answer Correct ?    0 Yes 1 No

What is Test Case?..

Answer / kadhiravan

It is action of item to test the Expected result.

Is This Answer Correct ?    0 Yes 1 No

What is Test Case?..

Answer / phani nath.ch

it is an idea of a test engg based on the requirement to
test

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Manual Testing Interview Questions

What is the test scenario? What is the difference between test strategy and test scenario.?

8 Answers   poonam industries,


i want to write testing cerification. can anyone plz help how to go through. how to prepare for the exam and how i have to apply.

2 Answers  


what is gui testing? what is the most important thing we need 2 know before this and how 2 do gui testing

1 Answers   IBM,


Explain the advantages of automation over manual testing?

0 Answers  


Hi, Can any body tell me that do anybody need any sort of software background to learn testing

3 Answers  






What types of code coverage do you know?

1 Answers   3i Infotech,


What is security Hole ? Is this possible Some one can acess any of restricted page (like admin side)? How you test this previllaze?

0 Answers   Magic Software, Wipro,


with out any training on domain with out any document only with the help of build screen is it possible to write testcases

5 Answers   Ariba,


Tell some examples of bug severity and bug priority?

0 Answers  


Why do you need to parameterize fields in your virtual user script?

0 Answers  


Give the real-time example for back-to-back testing?

0 Answers  


How you will test pen

6 Answers   Accenture, Digital Mesh,


Categories