QA Tutorials

USE CASE TESTING

USE CASES & TEST CASES

The use case testing is designed using use case documents as reference. To understand more about the use cases & use case testing, click on the below link:

USE CASE TESTING – PART 1

The term use case and test case are often confused for their understanding. Use case document is used as reference for test case document. The difference between these two work products are as below:

  1. Use case is list of actions defining the interactions between an actor and a system to achieve a goal. Test case is designed by referring to the use cases, which has the different conditions to test the behaviour of the software.
  2. Use case document can be used for implementation of software. Test case documents are used for testing and recording the actual outcome and results.
  3. Use case documents are prepared by Business analyst to capture the requirements of the client in detail. Test cases are designed by software testers to provide the test conditions to test and record the results of testing.

 

use cases
use cases

Uses of use case testing:

Use case testing ensure the way that the user uses the software in intended way or not. It helps the user to accomplish his task successfully. Some facts about the use cases testing are:

  1. Use case testing does not decide the quality of the software but can be used to identify the presence of defects.
  2. It does not guarantee the entire coverage of the user application.
  3. Based on the use case testing alone we cannot decide the deployment of the  software to production environment.
  4. It will find out the defects like in any other testing.

The characteristics of use case testing are

  1. It defines the interactions between actors and system.
  2. Actors denote the users and their interactions of each user who take part into.
  3. Test cases which is based on the use cases are called as scenarios.
  4. It is very effective in defining the scope of acceptance tests.

Questions

  1. What is use case testing?
  2. Explain use case testing with an suitable testing?
Facebook Comments
Tags

17 Comments

  1. —> Use Case Testing is defined as a software testing technique, that helps identify test cases that cover the entire system, on a transaction by transaction basis from start to the finishing point.
    The term use case and test case are often confused for their understanding. Use case document is used as reference for test case document.
    Use case document can be used for implementation of software. Test case documents are used for testing and recording the actual outcome and results.

  2. Use case testing: is prepared by the Business Analyst. Use Cases are a sequence of steps to describe the interactions between a user and the software system, It describes the process flows through a system based on its most likely use. This makes the test cases derived from use cases good to particularly find the defects in the real world system. Use case testing ensures the way that the user uses the software in an intended way or not. It helps the user to accomplish his task successfully.
    A use case is a written description of how users will perform tasks on your website. It outlines, from a user’s point of view, a system’s behavior as it responds to a request. Each use case is represented as a sequence of simple steps, beginning with a user’s goal and ending when that goal is fulfilled.
    Example: Gmail login
    step one: enter valid user name and password
    Step two: user should access the account.
    step three: if the password is wrong.system says to try again for 3 times
    step four: 4th-time system won’t accept.

  3. 1) Use case testing is designed using use case documents as the test basis. Use case testing ensure the way that the user uses the software in intended way or not.

    2) Use case testing example : Withdrawal cash from ATM
    Steps involved :
    1. User will Insert card.
    2. For a valid card (not expired), system asks to enter Pin.
    3. After entering the pin, system validates it and ask for the amount to be withdrawn.
    4. If the entered amount is within the limits (less than available account balance ), cash will be dispensed.

  4. The use cases are prepared by the Business Analyst (BA) to describe the interactions between the software items.A use case description is associated with different software items like end users, hardware components or any other system. All these system items are termed as Actors. Each use case describes the interactions of an actor with the system in order to achieve some specific goals. A use case can include: actors, system, interactions, preconditions, post conditions. The interactions can be represented using work flow diagrams, activity diagrams and business process models. Use cases can describe the normal behavior, exceptional behavior and error handling conditions.
    Used case testing
    online shopping website- www shwapno com
    step 1 user login with login ID and password

    exception- user may enter wrong password
    user may does few attempts for password and logout automatically
    step 2 -user login successfully , add few item in cart and proceed to check out
    step 3- user fill up the information like address, payment details and submit
    step 4 -order confirmation is been displayed

  5. What is use case testing?
    Use case testing is designed using use case documents as a test basis.
    Use Case testing ensures the important user path are working fine on the system.

    Explain the use case testing with suitable testing?
    Use case testing defines the interactions between actors and the system.
    Actors denote the users and their interactions of each user who take part into.
    Test cases which is based on the use cases are called as scenarios.
    It is very effective in defining the scope of acceptance tests.
    eg: bank of america website ,log in with valid id and password to access the account details ,if the id or the password not valid it give error messages or many wrong trials may lock the account .

  6. 1.Each use case describes the interactions of an actor with the system in order to achieve some specific goals. A use case can include: actors, system, interactions, preconditions, post conditions. The interactions can be represented using work flow diagrams, activity diagrams and business process models. Use cases can describe the normal behaviour, exceptional behaviour and error handling conditions.

  7. The use case testing is designed using use case documents as reference.
    Use case documents are prepared by Business analyst to capture the requirements of the client in detail. Test cases are designed by software testers to provide the test conditions to test and record the results of testing.

  8. 1. What is use case testing?
    The use cases are prepared by the business analyst(BA) to describe the interactions between the software applications. It
    is a form of requirements which are recorded by the business analyst. The software functions are described using the use
    cases. The use case describes the process flow through the system, so the test cases are derived from the use case hence
    this will be effective in identifying the defects in the real world system. Thus use case testing is carried to identify
    the test cases with the use cases as test basis.
    2. Explain use case testing with a suitable testing.
    Gmail login testing:
    Here the user who tries to login to their gmail account is the actor. The system is gmail login system. There are
    interactions,pre condition and post condition in these kinds of use case testing.
    If the username and password are valid, the user can successfully login to the gmail account.
    If the username and password are invalid, the user cannot login to the gmail account.
    If the user enters incorrect password for many times, the account gets blocked and a mail is sent to the recovery email
    for alerting the user. Thus this testing could handle normal,exceptional and error handling conditions.

  9. Use Case Testing is a functional black box testing technique that helps testers to identify test scenarios that exercise the whole system on each transaction basis from start to finish.

    Explain use case testing with an suitable testing?
    Withdrawal of cash from ATM
    Steps involved :
    1. User will Insert card.
    2. For a valid card (not expired), system asks to enter Pin.
    3. After entering the pin, system validates it and ask for the amount to be withdrawn.
    4. If the entered amount is within the limits (less than available account balance plus Business rule), cash will be dispensed

  10. Use Case Testing is defined as a software testing technique, that helps identify test cases that cover the entire system, on a transaction by transaction basis from start to the finishing point.
    Suitable testing:
    Customer online bill payment through bank
    Client clicks on the bank site —— enters his login id and password—-if entered information is correct —-Client is able to look at his information — clicks on the Account information —-enters the amount to be transferred —click on confirm button—transfer of amount is done —- gets a confirmation for amount transfer.

  11. Use Case testing is a brief description of a particular use of the software application by an actor or user. Use cases are made on the basis of user actions and the response of the software application to those user actions. It is widely used in developing test cases at system or acceptance level. It helps to identify test cases that cover entire system on a transaction by transaction basis from start to end.
    Use case testing also helps to identify gaps in software application that might not be found by testing individual software components.

  12. 1. Use case testing identifies the test cases with the use cases as the test basis. The use cases are prepared by the BA to describe the interactions between the software items. Testing based on use cases are good to find defects in the software when it is implemented in the real world.

    2. Use case testing ensures that the software is used as intended. It helps users accomplish their tasks successfully. An example of use case testing could be when someone logs into their bank account. Because the bank details are highly confidential, we need multiple ways to verify the user’s information is not lost or hacked. As a result, use cases can be constructed for dual-factor authentication, forgotten passwords, resetting passwords, updating personal information, and adding/withdrawing funds. Use case testing could ensure that the quality of all of these characteristics is perfect to avoid any stolen details.

  13. Use case testing: Use Case Testing is a functional black box testing technique that helps testers to identify test scenarios on each transaction basis from start to finish. Use case testing ensures the user uses the software in intended way or not. It helps the user to accomplish his task successfully.
    Example: Funds Transfer by User: Steps : 1. Login to Bank Account. 2. Click on Funds Transfer 3. one of 3 Actions -> Between Accounts, Outside Accounts, To Person user knows

  14. 1.) Use Case testing is the testing done to check the process flow of the system based on its most likely use as requested by the client to find any defects within the software.
    2.) A user attempts to login to a website. The user enters the username and password but one parameter is invalid. When the user clicks to login, the parameters should be cleared and an error message should appear. If the user inputs the correct login parameters, the system should provide them access to the next page in the system for a successful login. The testing will check end to end to ensure the correct system response is provided to the user in accordance to the parameters provided, showing any defects that may exist otherwise.

  15. Usecase testing ensure the way that the user the software in intended way or not.It helps the user to accomplish his task.
    The Usecases are prepared by BA to describe the interactions between the software items.
    Example:Login Functionality of Bank
    User Login with Valid Username & Password
    System displays the account details
    User Login with Invalid Username & Password
    System shows Error Message
    User Login with Blank Username & Password
    System shows Error Message

  16. What is use case testing?
    Use case testing ensure the way that the user uses the software is in an intended way or not.

    Explain use case testing with an suitable testing?
    Use case testing is a way to verify if the user interacts with the system in the expected manner.
    For example in an online shopping website –
    user selects product and adds to cart.
    from the cart sees the size selection as incorrect.
    Clicks on the product from the cart.
    goes to product page and changes size. Saves changes and goes to cart again.
    The cart should now reflect the new size selected.

  17. Use case testing is carried to identify the test cases with the use cases as test basis. A use case description is associated with different software items like end users, hardware components or any other system. Use cases can describe the normal behavior, exceptional behavior and error handling conditions.
    The use case describes the process flow through the system based on its most likely in use. This makes the test case derived from use cases good to particularly find the defects in the real world system.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Articles

Back to top button
Close
Close