zoukankan      html  css  js  c++  java
  • 老外写的一个测试用例

     

    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

  • 相关阅读:
    spring mvc ajax请求
    spring mvc 返回页面数据
    spring mvc 参数传递的三种方式
    spring mvc 注解示例
    spring mvc handler的三种方式
    MyBatis 一级、二级缓存
    MyBatis 调用存储过程
    MyBatis动态SQL与模糊查询
    spring mvc 注解入门示例
    MyBatis 一对多关联查询
  • 原文地址:https://www.cnblogs.com/tester2test/p/537087.html
Copyright © 2011-2022 走看看