专注于软件测试理论+实践,自动化测试(功能、性能),希望广交天下爱好测试的朋友,积极加入我的圈圈!测试者家园期待您的加入!

老外写的一个测试用例

上一篇 / 下一篇  2007-06-20 16:58:51

 

Test case example:

Test Case ID: CUST.01

Function: Add a new Customer

Data Assumptions: Customer database has been restored

General Description:

Add a new customer, via the Customer Add screen, and validate that new Customer was displayed corrected on the All Customer Screen.

Action

Initial State or Screen

Data

Expected Results

(Response)

1. Bring up Sales application via the Windows Icon

Program Manager

None

Main Sales Application Menu displayed

 

2. From Views Menu Select Customer.

Main Sales Screen

None

Customer Views Screen Displayed.

 

3. Click on All Customers

Customer View

None

Customer window is displayed with title "All Customers".

4. Click on Add Button

Customer - All Customer

None

Add Customer Screen is displayed.

 

5. Enter data to add a new customer and single click the add button.

Add Customer

Name: John Doe

Addr: 123 Main st.

City: San Francisco

(Or refer to data sheet:

Data Sheet - #105)

Data display in indicated fields.

 

(Or: as defined by data sheet.)

Benefits:

1. Easier to automated - all have same structure

2. Data requirements are clearly defined

3. Navigation is precise

4. Expected results for each action is specific - no guess work involved

 



测试者家园 2006-10-23 11:13 发表评论


Link URL: http://www.cnblogs.com/tester2test/archive/2006/10/23/537087.html

TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2011-05-21  
1234567
891011121314
15161718192021
22232425262728
293031    

数据统计

  • 访问量: 8930
  • 日志数: 150
  • 建立时间: 2007-04-23
  • 更新时间: 2007-06-21

RSS订阅

Open Toolbar