What is the difference between use case and test case? give
example.

Answer Posted / ravikanth

Use Case: A use case in software engineering and systems
engineering is a description of a system’s behavior as it
responds to a request that originates from outside of that
system. In other words, a use case describes "who" can
do "what" with the system in question. The use case
technique is used to capture a system's behavioral
requirements by detailing scenario-driven threads through
the functional requirements

Use cases describe the interaction between one or more
actors (an actor that is the initiator of the interaction
may be referred to as the 'primary actor') and the system
itself, represented as a sequence of simple steps. Actors
are something or someone which exists outside the system
('black box') under study, and that take part in a sequence
of activities in a dialogue with the system to achieve some
goal. Actors may be end users, other systems, or hardware
devices. Each use case is a complete series of events,
described from the point of view of the actor


Test case :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

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how will you test transfer funds module...explain in detail

1155


Define what is a critical bug.

656


How to test the below code and write test case? Prove that this code is wrong? int add(int a ,int b) {return a+b; }

1575


What is meant by Boundary value analisis and Equalence partitioning? Can give derive this using these methods? In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10% The next £28000 is taxed at 22% Any further amount is taxed at 40% Which of these groups of numbers would fall into the same equivalence class? a) £4800; £14000; £28000 b) £5200; £5500; £28000 c) £28001; £32000; £35000 d) £5800; £28000; £32000

1575


Password is having 6 digit alphanumeric then what are the possible input conditions?

687






Write positive and negative test cases for forgot password?

4312


how to creat 2 test plan in 2 different environment exp:tour and travel

1905


What is Batch testing? Facets Benefit Configuration

2139


You must test a trouble report where the problem cannot be reproduced. You tried using various test data files and mutations from the data files the customer sent along with the trouble report. The software does not fail the way it did at the customer's site.

2079


what is port testing and do it comes in manual testing?

1658


How can I do Server side Interface testing in Web Testing?

3188


What do you do if the bug that you found is not accepted by the developer and he is saying its not reproducible.

706


how will the test plan is pepared in ur organisation>?

1482


Which was the most interesting bug you found.

2444


What is quality center? What are the modules of quality center?

664