首页 | 官方网站   微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 86 毫秒
1.
李诺  黄陇  吴际  金茂忠  刘超 《计算机工程》2007,33(15):91-93
为了保证Web应用软件的质量,需要系统化的方法支持其测试。模型驱动的Web应用测试方法以模型为中心,通过建立Web应用模型描述被测系统,基于该模型产生测试用例,并且使用模型驱动的测试执行工具自动化执行测试,将测试结果返回到各个模型上。该文通过总结比较该领域的研究现状,讨论了实现模型驱动的Web应用测试的关键技术,并提出了目前研究的不足之处及潜在的研究方向和重点。  相似文献   

2.
管小娟  周诚  钱炫宇  刘时敏 《微机发展》2014,(2):153-155,159
随着信息内外网间各种结构化数据和非结构化数据的频繁交互,为保证公司隔离体系及相关业务的正常运转和信息内网数据的安全可靠,该单位自主研发了一款安全装置,实现了对信息内网数据访问的有效控制。为保证该产品每一个发行版本都能够稳定运行,文中设计了基于关键字驱动的自动化测试方案,通过关键字结构设计和层次关键字分离设计,实现测试数据、测试脚本和测试逻辑的分离,灵活地、选择性地配置需要进行回归测试的测试用例项,使得该装置在回归测试和新功能测试中能合理安排测试人员,提高测试效率。  相似文献   

3.
笔者主要讨论基于关键字驱动的Web功能自动化测试方法与实现方式。以面向对象语言Python2.0+selenium2.0为自动化脚本开发的环境,结合Pycharm脚本编辑的IDE,在此环境下开发自动化脚本以实现Web功能自动化。目前,最为流行的软件开发方式是敏捷开发,开发后的软件不但要测试新的功能,也要回归老的功能;另外涉及软件版本的改版、优化或者升级同样需要对新功能的测试与老功能的回归。为了有效解决回归测试的不一致性的问题,引入自动化测试便是一个很好的选择,它能提高软件质量,节省经费,缩短产品发布周期。笔者主要讨论通过关键字定位页面元素,Selenium2.0采用Webdriver方式驱动浏览器在Web页面自动化实现方法与方式,希望能为自动化脚本开发与测试中提供借鉴和帮助.  相似文献   

4.
基于模型的Web应用测试   总被引:1,自引:0,他引:1  
提出了基于模型的Web应用测试方法,包括建模、测试用例生成、测试用例的执行、模型以及测试用例的可视化等关键技术.设计并实现一个基于模型的Web应用测试系统.以FSM作为被测Web应用的形式测试模型,集成了模型转换器、测试目标分析器、测试序列生成器、FSM和测试序列可视化以及Web应用测试执行引擎等工具.除支持状态覆盖、...  相似文献   

5.
文章简要介绍了自动化测试及自动化测试框架的种类,设计了基于QTP的关键字驱动的自动化测试框架,该框架主要由控制模块、测试数据、对象库、函数库、测试脚本、测试报告、日志等部分组成。笔者将该框架应用在实际项目中,实践表明,该框架的实施缩短了测试的时间,提高了测试效率。  相似文献   

6.
为有效解决目前回归测试测试效率低以及手工测试操作复杂的问题,研究了自动化测试技术的原理和方法,提出了一种基于关键字驱动的自动化测试方法;介绍了Web自动化测试实施的过程和自动化测试框架的主要功能.在遵从保证产品质量和提高测试效率的原则基础上,对系统进行自动化测试的可行性分析,再进行自动化测试开发工具的选择、制作Demo和自动化测试框架开发,实现了以关键字驱动为核心,Ruby为开发语言的自动化测试框架.实验结果表明,该方法提高了回归测试效率和测试系统的可移植性.  相似文献   

7.
赵丽珍 《福建电脑》2011,27(2):135-136,93
本文介绍了基于数据驱动的自动化测试以及其实现方法.本文以目前流行的自动化测试框架为基础,以数据驱动测试框架为核心,采用数据驱动脚本技术,在设计自动化测试平台的过程中实现了测试数据与测试脚本的分离。同时借鉴了测试脚本模块化的思想,将测试脚本进行分层次、嵌套管理,完成了基于数据驱动的自动化集成测试平台的设计。提高了软件测试自动化程序的可复用性,以及在系统、产品以及数据方面的独立性。  相似文献   

8.
Web技术的发展,以及Web UI组件的广泛应用,给自动化测试带来了挑战。因此设计了一套基于Selenium JS UI的自动化测试框架。该框架结合了Test NG、Selenium框架,并且利用了关键字驱动、数据驱动技术。将框架分为关键字、测试用例、执行引擎、配置报告四层,使测试用例、测试脚本、测试数据相分离,跨平台,不仅解决了自动化测试定位难的问题,而且大大提高了测试效率。  相似文献   

9.
基于数据驱动的软件自动化测试框架   总被引:3,自引:0,他引:3  
为了提高软件测试自动化程序的可复用性,以及在系统、产品以及数据方面的独立性,在对几种基本的软件测试框架进行研究的基础上上,结合在实际的项目中的软件自动化测试的实践,提出一种基于数据驱动的自动化测试框架(TAF)。分析了软件测试以及软件测试自动化的现状,阐述了软件测试自动化框架的策略目标、关键的成功因素,以及5种基本的软件自动化测试框架。最后提出新的软件自动化测试框架。  相似文献   

10.
基于数据驱动的软件自动化测试框架   总被引:9,自引:1,他引:9  
为了提高软件测试自动化程序的可复用性,以及在系统、产品以及数据方面的独立性,在对几种基本的软件测试框架进行研究的基础上上,结合在实际的项目中的软件自动化测试的实践,提出一种基于数据驱动的自动化测试框架(TAF)。分析了软件测试以及软件测试自动化的现状,阐述了软件测试自动化框架的策略目标、关键的成功因素,以及5种基本的软件自动化测试框架。最后提出新的软件自动化测试框架。  相似文献   

11.
The growing scale and complexity of the enterprise computing systems under distributed and heterogeneous environments present new challenges to system development, integration, and maintenance. In this paper, we present a model driven Web service development framework to combat these challenges. The framework capitalizes on the unified modeling language (UML) profile for enterprise distributed object computing (EDOC), MDA (model-driven architecture) and Web services. Within the framework, firstly, a general PIM (platform independent models) is created using the EDOC CCA structural specification and CCA choreography specification which defines the general functions of a system. Secondly, the general PIM is broken down into sub-PIMs according to functional decomposition, each of which can provide service independently and will be implemented in a Web service. Thirdly, all of the PIMs are transformed to Web service interface models for publication and invoking. Afterward, transform each PIM to a BPEL specified Web service orchestration model. Finally, supported by model transform techniques, the sub EDOC PIMs are implemented into Web services on specific platforms. Automatic model transformation is the key to this framework, therefore, the transformation from EDOC CCA models to WSDL specified Web service interface models and the transformation from EDOC CCA models to BPEL specified Web service orchestration models are deeply discussed, and the detailed transformation rules are proposed. A case study is also provided to demonstrate the effectiveness of these rules and the merits of this framework.
Xuandong Li (Corresponding author)Email:
  相似文献   

12.
Web服务自动化测试技术   总被引:1,自引:0,他引:1  
赋时Petri网为装配序列规划提供了有效的建模方法,但其在求解最优装配序列时受到组合复杂性的严重制约。零压缩二叉决策图(ZBDD)是处理大规模组合集合和0-1稀疏向量的一种有效符号技术,能够有效缓解组合爆炸问题。将赋时Petri网与ZBDD结合起来,给出了一种求解装配序列最优解的有效方法。首先通过转换算法将赋时Petri网转换为等价的普通Petri网,接下来给出普通Petri网可达状态及迁移引发函数的ZBDD表示方法,最后基于ZBDD给出最优装配序列求解算法。实例验证表明,该算法在求解过程中通过隐式符号操作实现了Petri网的可达状态搜索,有效缓解了计算过程中的组合复杂性。  相似文献   

13.
Web应用测试用例生成研究   总被引:2,自引:0,他引:2  
随着Internet的高速发展,Web应用成为软件的主流之一,Web应用程序也变得越来越复杂,从多方面着手提高Web应用的质量是Web应用开发者的必然选择.Web应用测试是保证Web应用程序质量的重要手段,测试的核心工作是生成测试用例.把现有的Web测试用例生成方法归结为4类:Capture/Replay方法、HTML分析法、源代码分析法、User-Session分析法,随后对这4类方法进行详细讨论,并归纳出这4类方法生成测试用例的一般步骤.最后总结了这4种方法的优缺点,从方法实现的难易程度、覆盖率等方面比较了它们的性能.  相似文献   

14.
冯谷  李尼格 《计算机科学》2017,44(11):232-239, 245
移动互联网时代,移动智能终端和移动应用已经成为各领域竞相采用的祖尧解决方案。与此同时,移动终端硬件和平台的多样性和异构性,造成了移动应用开发和测试中存在大量工作冗余以及难以复用的情况,带来了跨平台问题,成为了学术界和工业界研究和实践的热点。文中提出使用模型驱动的移动应用测试方法。首先,使用UML状态机模型刻画移动应用的行为;然后,基于移动应用的行为模型,自动生成平台无关的测试用例;最后,将与平台无关的测试用例映射到多个移动平台,产生可执行的自动化测试用例。在此基础上,选择形如掌上电力的应用作为案例,分别实现IOS和Android平台上的自动化测试,验证了模型驱动移动应用测试方法在解决跨平台问题时的有效性。  相似文献   

15.
The evolution of web technologies in the last few years has contributed to the improvement of web applications, and with the appearance of AJAX and Web 2.0 technology, a new breed of applications for the Internet has emerged: widgets, gadgets and mashups are some examples of this trend. However, as web applications become more and more complex, development costs are increasing in an exponential rate, and we believe that considering a software engineering methodology in the development process of this type of applications, contributes to the solution of this problem. In order to solve this question, this paper proposes a model-driven architecture to support web application development from the design to the implementation model. With this aim, the following tasks have been performed: first a new profile extends UML with new concepts extracted from the web domain, then a new framework supports web application development by composing heterogeneous web elements, and finally, a transformation model generates web applications from the UML extension proposed. The main contribution of this work is a cost and complexity reduction due to the incorporation of a model-driven architecture into the web application development process, but other advantages that can be mentioned are a high performance degree achieved by a prefetching cache mechanism, and a high reusability, since web elements can be reused in different web applications.  相似文献   

16.
针对Web应用测试用例生成过程中导航图规模过大以及存在冗余测试路径的问题,提出了一种基于Selenium页面对象设计模式和图遍历算法的Web应用测试用例生成方法。首先,通过将原始页面对象进行分类,以导航页面对象类为节点、导航方法为迁移边构建页面对象导航图;其次,结合图的最短路径算法提出了一种页面对象图算法(POGA)来遍历导航图以生成测试路径集;最后,提取测试路径,利用Faker生成模拟数据,进一步生成可以直接执行的测试用例。实验结果表明:与爬取Web应用生成导航图的规模相比,该方法约简率约为89%;与基于状态迁移生成Web应用测试用例的方法相比,该方法减小了冗余和不可行路径的数量,并进一步提高了页面对象的复用率和测试用例的可维护性。  相似文献   

17.
任继平  王占武 《计算机工程》2006,32(12):77-79,132
新一代的基于浏览器,服务器模式的Web应用系统与传统系统存在的诸多差异决定了对该类应用系统的测试要有新的方法。该文基于软件质量特性,从测试目标、内容、方法等方面介绍了该类应用的系统测试,具有较强的实践指导意义。  相似文献   

18.
A large part of software development these days deals with building so-called Web applications. Many of these applications are data-base-powered and exhibit a page layout and navigational structure that is close to the class structure of the entities being managed by the system. Also, there is often only limited application-specific business logic. This makes the usual three-tier architectural approach unappealing, because it results in a lot of unnecessary overhead. One possible solution to this problem is the use of model-driven architecture (MDA). A simple platform-independent domain model describing only the entity structure of interest could be transformed into a platform-specific model that incorporates a persistence mechanism and a user interface. Yet, this raises a number of additional problems caused by the one-way, multi-transformational nature of the MDA process. To cope with these problems, the authors propose the notion of a model-driven runtime (MDR) environment that is able to execute a platform-independent model for a specific purpose instead of transforming it. The paper explains the concepts of an MDR that interprets OCL-annotated class diagrams and state machines to realize Web applications. It shows the authors' implementation of the approach, the Infolayer system, which is already used by a number of applications. Experiences from these applications are described, and the approach is compared to others. This is an extended and revised version of a paper originally presented at the UML 2003 conference in San Francisco [1]. The second author has been supported by the German Federal Ministry of Education and Research (BMBF), grant 08NM098.  相似文献   

19.
Web应用程序的一种功能自动化测试模型与实现   总被引:7,自引:0,他引:7  
赖利锋  刘强 《计算机工程》2006,32(17):123-125
Web应用程序相比于传统的应用程序有其自身的特点,对软件测试提出了新的要求。该文针对Web应用程序的特征,提出了一种Web应用程序的测试框架,形成了一套规范化、易操作、可扩展的测试流程;并在该框架的基础上讨论了一种实现技术,开发出了相应的Web应用程序功能自动化测试的工具。该工具在实践中被证明是有效的,能及时发现Web应用程序中的错误,使迭代开发过程中的回归测试变得简单而方便。  相似文献   

20.
In order to ensure the security and reliability of Web application, the testing of Web application is one of the most effective methods. This work regards a Web application as the composition of different interactive Logical Components (LCs). We combine LCs with agent to assist to automatic generate test cases for testing Web applications. From Pages-Flow-Diagram (PFD) of Web application under test, this research successively partitions Web applications into LCs, at different levels of abstraction, each of which is composed of Web pages and other LCs. We use an automaton to model each LC, and use compositions of automata to model interaction of LCs. Our approach supports concurrent access and interaction between LCs. It avoids the state space explosion problem effectively. It also enhances the reuse of component interactions and overcomes differences in actions between LCs by using an agent as a coordinator.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号