首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 125 毫秒
1.
Web应用功能交互的建模与测试用例生成   总被引:1,自引:0,他引:1  
为了产生更有效的测试用例,以Web应用为研究对象,按功能将Web应用划分成若千个功能构件,把Web应用看成是功能构件的集合,针对其相应的交互功能,用FSM对其功能交互行为进行建模.在此基础上提出了完整消息传递序列测试准则,并根据该测试准则生成抽象的测试用例集,以实现对Web应用交互性的测试,提高Web应用测试的有效性,力图实现Web应用测试的自动化.最后设计了一个工具原型用于测试用例的生成.  相似文献   

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

3.
随着Web技术的不断发展,传统程序的某些建模和测试方法难以适用于现代Web的应用。为了产生更有效的测试用例,本文以Web应用为研究对象,针对交互功能,用FSM对其功能交互行为进行建模,并总结出了完整消息传递序列测试准则,为实现对Web应用交互性的测试,提高Web应用测试的有效性,开发了一个WebTCGen的测试原型专门用于生成满足一定测试准则的测试用例集。  相似文献   

4.
提出了一种基于有限状态模型(FSM)的测试用例生成方法。首先,FSM中的状态由Web服务与用户交互产生的中间状态表示,FSM中的状态迁移及其标注由Web服务与用户间的消息交换表示;其次,借助正则表达式来描述Web服务交互过程的所有消息交换序列,并与Web服务的WSDL文档结合产生测试数据;最后,给出了满足FSM迁移覆盖准则的测试用例生成算法,并通过实验验证了该方法的有效性。  相似文献   

5.
陈军成  薛云志  赵琛 《软件学报》2013,24(12):2830-2842
事件处理函数响应用户GUI(graphic user interface)操作并完成软件预定义功能,事件处理函数以及事件处理函数之间的关系实现是否与规约一致,是GUI 测试的重点.针对现有的基于模型GUI 测试用例自动生成过程中面临的测试用例规模庞大以及生成的测试用例无效问题,从分析事件处理函数的角度出发,提出了一种GUI 测试模型EHG.针对此模型,结合事件处理函数及其代码结构,提出了两个测试覆盖准则:完整最短路径覆盖准则和完整最短路径定义-引用对覆盖准则;利用基于反馈的测试用例生成技术生成测试用例.实验结果表明,针对较为复杂的应用,该方法不仅能够有效控制测试用例规模,消除无效测试用例,而且生成的测试用例能有效提高事件处理函数的代码结构覆盖率.  相似文献   

6.
活动图模型驱动的Web应用程序测试方法   总被引:1,自引:0,他引:1  
何可  李晓红  冯志勇 《计算机应用》2010,30(9):2365-2369
提出了一种活动图(AD)模型驱动的Web应用程序测试方法,从活动图中生成满足往返路径覆盖准则的测试序列,基于测试输入语法生成驱动测试序列执行的测试数据,将测试数据整合到测试序列中生成测试用例,运行测试用例进行测试并生成测试结果的报告。实现了一个原型工具以支持活动图模型驱动的Web应用程序测试方法,设计并完成了一个实验,验证了该方法的可行性与有效性。  相似文献   

7.
针对Web应用测试方法错误覆盖率低的问题,提出了一种基于状态迁移的Web应用功能测试用例生成方法。该方法通过构造页面状态迁移图、事件迁移表和导航迁移表对Web应用的链接关系进行表示。基于页面状态迁移图生成的页面状态迁移树生成测试路径,根据等价类划分原则,提出了一种测试用例覆盖准则,结合事件迁移表和导航迁移表中的信息记录构造测试用例。典型案例实验结果表明,该方法有效地表示了Web应用中页面间的链接关系,提高了测试用例的错误检测率。  相似文献   

8.
软件体系结构测试是对构件功能描述和接口描述的测试,是保证基于构件的软件系统质量的重要手段.提出一种新的软件体系结构级路径覆盖方法,用Wright描述软件体系结构并将体系结构配置行为转换成改进的配置行为图表示构件内部计算及外部迁移信息,根据构件连接路径覆盖准则C_CPC和构件连接路径覆盖生成算法FindC_CPaths,生成相应的测试路径.基于此设想实现了工具WTPT,通过实验及其分析表明了算法的正确性和有效性.最后对构件连接路径覆盖准则进行评估,评估结果为应用该覆盖准则提供了理论依据.  相似文献   

9.
王微微  李奕超  赵瑞莲  李征 《软件学报》2020,31(5):1314-1331
Web应用测试用例生成并行化,是提升Web应用测试生成效率的一个有效手段.Web应用的前后端分离、事件驱动等特性,导致传统的并行化技术难以直接应用于Web应用的测试用例自动生成中.因此,如何针对Web应用进行并行化测试用例生成,是一项具有挑战性的工作.将种群并行化计算引入到基于遗传算法的Web应用前后端融合的测试用例生成中,通过线程池及调度逻辑、多浏览器进程管理及后端覆盖路径的获取,实现种群个体在多浏览器上的并行化执行及基于后端路径覆盖的适应度值并行化计算,以更高效地生成Web应用的测试用例.实验结果表明:相较于Web应用的GA串行化测试用例生成方法,所提的并行化测试生成方法能更充分地利用系统资源,极大地提升Web应用测试用例的生成效率.  相似文献   

10.
本文通过研究UML状态图模型,提出了一种测试用例生成方法,将UML状态图采用有向图的邻接矩阵表示,采用深度优先遍历算法,得到测试序列,并通过将没有被覆盖的边引入测试序列中,得到了满足一定覆盖准则的测试序列。  相似文献   

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

12.
一种基于Web软件集成测试的建模方法   总被引:1,自引:0,他引:1  
本文给出了一种Web软件集成测试的建模方法。该方法通过分析Web应用程序体系结构,对Web应用划分,用分层的有限状态机对Web应用进行行为建模,通过采用基于有限状态机的导航模型来指导测试人员进行Web集成测试;采用UML扩展的模型对Web应用组件间的交互建模,通过建立基于UML的组件依赖模型并提供相应的测试用例生成规则来提取Web应用的测试用例。  相似文献   

13.
Kindlund  E. 《Software, IEEE》1997,14(5):22-25
The World Wide Web has emerged as a new application-delivery platform. In response, developers are offering users sophisticated Web-based Java applets that range from cybershopping carts to complex tools for genome mapping. These applets give you application functionality without taking up space on your hard drive. But trailing behind the applet bounty are new usability questions. A major one is how to make applet navigation seamless in the Web browser domain. Java applets are programs you write in Java and integrate into your Web page. Although applets can provide functionality similar to traditional applications, the applet code need not be installed on the users' hard drive. Instead, the applets execute Java-compatible Web browsers. Unlike standard Web pages, which users simply visit and browse, applet-enhanced pages let the user manipulate applet components and dynamically interact with information. The author discusses tools, techniques and concepts to optimize user interfaces  相似文献   

14.
Web services let programs submit requests to other programs over the Internet via open protocols and standards. Many traditional Web sites, including popular search engines like Google and large online bookstores are boosting their traffic through Web service APIs. A single Internet application can invoke many different Web services - for example, the metasearch engine WebSifter uses several online ontologies to refine a user's request into a more meaningful query and then submits that query to various search engines in parallel. We call such applications composite Web services. Many important challenges stem from the quality-of-service issues in composite Web services. We address the impact of slow services on the overall response time of a transaction that uses several Web services in parallel.  相似文献   

15.
阐述了Ajax的技术背景,对传统Web应用和Ajax技术应用进行了对比,并详细描述了Ajax技术在网络考试系统中的应用,给出了应用模块的详细设计与实现。  相似文献   

16.
用SOAP和WSDL实现异质应用系统的无缝衔接   总被引:3,自引:0,他引:3  
蒋继承  庄成三  吴志诚 《计算机应用》2004,24(2):146-147,150
当前,web应用越来越广泛,企业间应用系统的集成也成为web应用的一个重要方面。而目前主流的CORBA、DCOM等中间件技术不能用于异构系统间的通信。SOAP作为一种新的与平台无关的通信协议,可以实现异构系统信息的交换。文中分析了SOAP,并用SOAP和WSDL实现了J2EE和COM组件的通信。  相似文献   

17.
Recently, we have seen an explosion of interest in ontologies as artifacts to represent human knowledge and as critical components in knowledge management, the semantic Web, business-to-business applications, and several other application areas. Various research communities commonly assume that ontologies are the appropriate modeling structure for representing knowledge. However, little discussion has occurred regarding the actual range of knowledge an ontology can successfully represent.  相似文献   

18.
Building rich web applications with Ajax   总被引:1,自引:0,他引:1  
《Computer》2005,38(10):14-17
Looks at how developers are going back to the future by building Web applications using Ajax (Asynchronous JavaScript and XML), a set of technologies mostly developed in the 1990s. A key advantage of Ajax applications is that they look and act more like desktop applications. Proponents argue that Ajax applications perform better than traditional Web programs. As an example, Ajax applications can add or retrieve new data for a page it is working with and the page will update immediately without reloading.  相似文献   

19.
Healing Web applications through automatic workarounds   总被引:1,自引:0,他引:1  
We develop the notion of automatic workaround in the context of Web applications. A workaround is a sequence of operations, applied to a failing component, that is equivalent to the failing sequence in terms of its intended effect, but that does not result in a failure. We argue that workarounds exist in modular systems because components often offer redundant interfaces and implementations, which in turn admit several equivalent sequences of operations. In this paper, we focus on Web applications because these are good and relevant examples of component-based (or service-oriented) applications. Web applications also have attractive technical properties that make them particularly amenable to the deployment of automatic workarounds. We propose an architecture where a self-healing proxy applies automatic workarounds to a Web application server. We also propose a method to generate equivalent sequences and to represent and select them at run-time as automatic workarounds. We validate the proposed architecture in four case studies in which we deploy automatic workarounds to handle four known failures in to the popular Flickr and Google Maps Web applications. This work has been supported by the project PerSeoS funded by the Swiss National Fund.  相似文献   

20.
基于ORD和FSM的Web应用的建模与测试   总被引:2,自引:0,他引:2  
Web测试是保证高质量Web应用的一种有效技术.然而,由于其特殊性和复杂性,很难直接将传统的测试理论与方法学运用到Web应用的测试当中来.对Web应用进行了分析与建模,并对其进行测试,提出了一种可行的Web测试模型.首先得到页面流图(PFD,Page Flow Diagram),进而产生对象关系图(ORD,Object Relation Diagram),然后根据提出的算法将ORD转化为形式化的有限状态机(FSM,Finite State Machine)模型.基于FSM模型,提出了一种有效的测试路径自动生成方法,这些测试路径可以转化为XML语法的测试规格说明.测试引擎将测试规格说明作为输入最终产生测试报告.全文以所开发的一个小型的Web应用SWLS(Simple Web Login System)为例进行阐述.  相似文献   

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

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