计算机应用 ›› 2010, Vol. 30 ›› Issue (8): 2185-2188.

• 软件过程处理 • 上一篇    下一篇

基于TTCN-3的Web应用功能测试方法

施寅生1,王峰2,齐璇2,宗建建2   

  1. 1. 北京系统工程研究所
    2.
  • 收稿日期:2010-02-02 修回日期:2010-03-15 发布日期:2010-07-30 出版日期:2010-08-01
  • 通讯作者: 施寅生
  • 基金资助:
    国家

Functional testing method for Web applications based on TTCN-3

  • Received:2010-02-02 Revised:2010-03-15 Online:2010-07-30 Published:2010-08-01

摘要: 针对日益增长的Web应用功能测试需求与测试重用需求,提出了一种基于TTCN-3的Web应用功能测试方法。该方法结合分层测试的思想以及TTCN-3的特点,提出将Web应用功能测试划分为页面内容测试、会话管理测试、使用场景测试等3个层次,并分别从这3个层次给出了采用TTCN-3进行测试的过程。该方法应用TTCN-3参数化设计测试用例的思想,有效分离了测试设计与测试实现,使测试用例具有高可重用性。结合实例,表明了该方法的有效性。

关键词: TTCN-3, Web应用测试, 软件测试

Abstract: For the growing demands of Web application functional testing and test reuse, a TTCN-3 based Web application functional testing method was proposed. The method combined hierarchical thinking with TTCN-3 features, and divided Web application functional testing into three levels: page testing, and session testing, scenario testing. The TTCN-3 test processes were given respectively from three levels of Web application. This method used parametric designing idea of TTCN-3 test cases, effectively separated test design and test implementation, so that test cases would be highly reusable. Examples illustrate that the method is effective.

Key words: TTCN-3, Web application testing, software test