老外写的一个测试用例

 

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

 

posted on 2006-10-23 11:13 测试者家园 阅读(1859) 评论(0) 编辑 收藏

导航

<2012年2月>
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910

公告

热烈欢迎各位光临指导 !

我的作品1
《 软件性能测试与LoadRunner实战 》
2008年5月出版

我的作品2
《 精通软件性能测试与LoadRunner实战 》
2010年3月出版

Google 网上论坛 Beta 版
测试者家园
测试者家园论坛
free web counter
free web counter
E_mail:win_soft@163.com
MSN:win_soft@163.com
Q Q:173391618
QQ群:27916517

昵称:测试者家园
园龄:5年9个月
粉丝:13
关注:0

搜索

 

随笔分类(327)

随笔档案(346)

文章档案(1)

友情连接

积分与排名

  • 积分 - 575017
  • 排名 - 91