面向WinForm Control的自动化测试框架的设计与实现

面向WinForm Control的自动化测试框架的设计与实现

ID:35714285

大小:1.25 MB

页数:68页

时间:2019-04-13

面向WinForm Control的自动化测试框架的设计与实现_第1页
面向WinForm Control的自动化测试框架的设计与实现_第2页
面向WinForm Control的自动化测试框架的设计与实现_第3页
面向WinForm Control的自动化测试框架的设计与实现_第4页
面向WinForm Control的自动化测试框架的设计与实现_第5页
资源描述:

《面向WinForm Control的自动化测试框架的设计与实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、摘要摘要随着控件技术的不断发展,用户对WinFormControl的需求不断增加,使得WinFormControl逐渐产品化,一批以WinFormControl为产品的公司或者部门的建立更加推动了其快速发展。与此同时,也给WinFormControl的自动化测试提出了新的要求。目前,现有的用于WinFormControl自动化测试的自动化测试框架都是单元测试框架,只能用于测试WinFormControl的基本属性、方法和事件,而其他测试只能手动进行,因此,开发一套面向WinFormControl的自动化测试框架是非常有必要的。本文深入研究了WinFormControl

2、的特点,详细分析了WinFormControl自动化测试的原理及过程,对现有的单元测试框架做了简单的介绍,通过研究,在单元测试框架NUnit的基础上,着重处理鼠标和键盘的交互操作,并将GUI测试思想应用到WinFormControl的自动化测试中,将WinFormControl的各个组成部分抽象成一个ComponentGUI,让测试人员可以方便地定位控件并进行自动化测试,最终实现了面向WinFormControl的自动化测试框架。整个框架在设计上充分考虑了代码的可复用性、可移植性和可维护性。目前,该自动化测试框架已经在日本多家控件公司投入使用,达到实用化水平。关键词:

3、WinFormControl自动化测试GUIInput摘要AbstractAbstractWiththecontinuousdevelopmentofcontroltechniquesandtheincreasingdemandforWinFormControl,WinFormControlisgraduallycommercializedinrecentyears,andtheestablishmentofagroupofcorporationsordepartmentstakingWinFormControlastheirproductfurtherpromote

4、sitsrapiddevelopment.Meanwhile,newrequirementsofautomatictestingofWinFormControlhavebeenarisen.Atpresent,existingautomatictestingframeworksforWinFormControlareallunittestingframeworks,whichcanonlybeusedtotestthebasicattributes,methodsandeventsofWinFormControl,thatistosay,othertestshavet

5、obeoperatedmanually.Thus,itisverynecessarytodevelopaautomatictestingframeworkforWinFormControl.Inthisarticle,thefeaturesofWinFormControlarefirstlyintroduced,then,theprinciplesandproceduresofautomatictestingforWinFormControlarediscussedindetailandexistingunittestingframeworksarealsointro

6、ducedbriefly.Finally,anewautomatictestingframeworkforWinFormControlisintroduced.Thenewframeworkismainlybasedonthefollowingideas:onthebasisoftheunittestingframeworkNUnit,focusingonthehandlingoftheinteractiveoperationsofkeyboardandmouse;andtheideasofGUIbasedtestingareintroducedintheautoma

7、tictestingforWinFormControl:thecomponentsofWinFormControlareabstractedtoaComponentGUI,sothatthetesterscaneasilylocatecontrolsandtestthem.Theproposedframeworktakesintoaccountthereusability,theportabilityandthemaintainabilityofcodes.Atpresent,thisautomatictestingframeworkhasbeenp

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。