Test scenario là gì?
-
- Jr. Tester
- Posts: 88
- Joined: Mon 26 Jul, 2010 5:42 pm
- Contact:
-
- Jr. Tester
- Posts: 88
- Joined: Mon 26 Jul, 2010 5:42 pm
- Contact:
Re: Test scenario là gì?
Theo glossary của tài liệu ISTQB thì Test Scenario được mô tả như là Test Procedure Specification:
Test procedure specification is a document specifying a sequence of actions for the execution of a test. Also known as test script or manual test script. [After IEEE 829]
Test procedure specification is a document specifying a sequence of actions for the execution of a test. Also known as test script or manual test script. [After IEEE 829]
-
- Jr. Tester
- Posts: 88
- Joined: Mon 26 Jul, 2010 5:42 pm
- Contact:
Re: Test scenario là gì?
Theo http://www.robdavispe.com thì Test Scenario được định nghĩa như sau:
The terms "test scenario" and "test case" are often used synonymously. Test scenarios are test cases or test scripts, and the sequence in which they are to be executed. Test scenarios are test cases that ensure that all business process flows are tested from end to end. Test scenarios are independent tests, or a series of tests that follow each other, where each of them dependent upon the output of the previous one. Test scenarios are prepared by reviewing functional requirements, and preparing logical groups of functions that can be further broken into test procedures. Test scenarios are designed to represent both typical and unusual situations that may occur in the application. Test engineers define unit test requirements and unit test scenarios. Test engineers also execute unit test scenarios. It is the test team that, with assistance of developers and clients, develops test scenarios for integration and system testing. Test scenarios are executed through the use of test procedures or scripts. Test procedures or scripts define a series of steps necessary to perform one or more test scenarios. Test procedures or scripts may cover multiple test scenarios.
The terms "test scenario" and "test case" are often used synonymously. Test scenarios are test cases or test scripts, and the sequence in which they are to be executed. Test scenarios are test cases that ensure that all business process flows are tested from end to end. Test scenarios are independent tests, or a series of tests that follow each other, where each of them dependent upon the output of the previous one. Test scenarios are prepared by reviewing functional requirements, and preparing logical groups of functions that can be further broken into test procedures. Test scenarios are designed to represent both typical and unusual situations that may occur in the application. Test engineers define unit test requirements and unit test scenarios. Test engineers also execute unit test scenarios. It is the test team that, with assistance of developers and clients, develops test scenarios for integration and system testing. Test scenarios are executed through the use of test procedures or scripts. Test procedures or scripts define a series of steps necessary to perform one or more test scenarios. Test procedures or scripts may cover multiple test scenarios.
-
- Admin
- Posts: 4900
- Joined: Tue 10 Aug, 2010 10:11 am
- Location: HCM
- Contact:
Test Scenarios
Scenario testing is a software testing activity that uses scenario tests, or simply scenarios, which are based on a hypothetical story to help a person think through a complex problem or system for a testing environment. The ideal scenario has five key characteristics: it is (a) a story that is (b) motivating, (c) credible, (d) complex, and (e) easy to evaluate. (Xem thêm ở file đính kèm) These tests are usually different from test cases in that test cases are single steps whereas scenarios cover a number of steps. Test suites and scenarios can be used in concert for complete system testing.
Methods
System scenarios
In this method only those sets of realistic, user activities that cover several components in the system are used as scenario tests. Development of system scenario can be done using:
In this method the focus is on how a user uses the system with different roles and environment.
Nguồn en.wiki
Tài liệu về Test Scenario
Methods
System scenarios
In this method only those sets of realistic, user activities that cover several components in the system are used as scenario tests. Development of system scenario can be done using:
- 1. Story lines
2. State transitions
3. Business verticals
4. Implementation story from customers
In this method the focus is on how a user uses the system with different roles and environment.
Nguồn en.wiki
Tài liệu về Test Scenario
You do not have the required permissions to view the files attached to this post.
-
- Fresher Tester
- Posts: 15
- Joined: Tue 29 Oct, 2013 9:36 pm
- Contact:
Re: Test scenario là gì?
Test scenario là 1 kịch bản trong đó có chứa các test case liên quan đến kịch bản đó.
Ví dụ:
Test scenario: kiểm tra chức năng Sent email
Test case nằm trong test scenario gồm :
+ Check Sent button khi không có địa chỉ mail
+ Check Sent button khi không có title
+ Check Sent button khi nhập email không có trên server
Lúc đầu ta sẽ có Business Requirement gồm có chức năng Login, Sent mail, Purchase. Với chức năng Purchase ta lại có 2 loại user ứng với mỗi kiểu purchase tương ứng.
Mô hình sẽ đi như sau:
BR_Login->UC_User->TC1_TC5
BR_Sentmail->UC_User->TC6_TC10
BR_Purchase->UC_NormalUser->TC11_TC20
BR_Purchase->UC_BusinessUser->TC21_TC30
Test scenario có thể bao gồm các test scenario nhỏ hơn bên trong.
(UC là use case, ví dụ như use case admin, admin có thể quản lý bài viết, quản lý account; use case member thì edit account, đăng bài)
Ví dụ:
Test scenario: kiểm tra chức năng Sent email
Test case nằm trong test scenario gồm :
+ Check Sent button khi không có địa chỉ mail
+ Check Sent button khi không có title
+ Check Sent button khi nhập email không có trên server
Lúc đầu ta sẽ có Business Requirement gồm có chức năng Login, Sent mail, Purchase. Với chức năng Purchase ta lại có 2 loại user ứng với mỗi kiểu purchase tương ứng.
Mô hình sẽ đi như sau:
BR_Login->UC_User->TC1_TC5
BR_Sentmail->UC_User->TC6_TC10
BR_Purchase->UC_NormalUser->TC11_TC20
BR_Purchase->UC_BusinessUser->TC21_TC30
Test scenario có thể bao gồm các test scenario nhỏ hơn bên trong.
(UC là use case, ví dụ như use case admin, admin có thể quản lý bài viết, quản lý account; use case member thì edit account, đăng bài)
-
- Fresher Tester
- Posts: 38
- Joined: Mon 06 May, 2013 2:51 pm
- Contact:
-
- Admin
- Posts: 4900
- Joined: Tue 10 Aug, 2010 10:11 am
- Location: HCM
- Contact:
Re: Test scenario là gì?
Theo istqb glossary thì test script được định nghĩa như sau Commonly used to refer to a test procedure specification, especially an automated one.