Chatbox

Các bạn vui lòng dùng từ ngữ lịch sự và có văn hóa,sử dụng Tiếng Việt có dấu chuẩn. Chúc các bạn vui vẻ!
17/09/2021 21:09 # 1
buiducduong
Cấp độ: 22 - Kỹ năng: 1

Kinh nghiệm: 46/220 (21%)
Kĩ năng: 0/10 (0%)
Ngày gia nhập: 25/09/2020
Bài gởi: 2356
Được cảm ơn: 0
What is Use Case Testing? Technique, Examples


Before we Learn What Use Case Testing is, let’s understand

 

 

 

What is Use Case in Testing?

Use Case in 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.

 

Use Case Testing

Use Case Testing is a software testing technique that helps to identify test cases that cover entire system on a transaction by transaction basis from start to end. Test cases are the interactions between users and software application. Use case testing helps to identify gaps in software application that might not be found by testing individual software components.

How to do Use Case Testing: Example

In a use-case, an actor is represented by “A” and system by “S”. We create Use for a login functionality of a Web Application as shown below

test scenario

 
Main Success Scenario Step Description
A:Actor
S:System
1 A: Enter Agent Name & Password
2 S: Validate Password
3 S: Allow Account Access
Extensions 2a Password not valid
S: Display Message and ask for re-try 4 times
2b Password not valid 4 times
S: Close Application
  • Consider the first step of an end to end scenario for a login functionality for our web application where the Actor enters email and password.
  • In the next step, the system will validate the password
  • Next, if the password is correct, the access will be granted
  • There can be an extension of this use case. In case password is not valid system will display a message and ask for re-try four times
  • If Password, not valid four times system will ban the IP address.

Here we will test the success scenario and one case of each extension.

This is USE-Case testing in Software Engineering




 
Copyright© Đại học Duy Tân 2010 - 2024