- 1、本文档共63页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
摘要
近年来,互联网信息科技的蓬勃发展,给软件科技行业带来了无限的机遇和挑战。由于Web软件系统具有平台无关的特性,而且还有并发性、异构性和分布性这些性质,Web软件系统的测试相比于普通软件程序的测试要复杂很多,一个Web项目生命周期不只是开发的工作,测试在其中也有质量保证的作用,为了确保Web系统产品的竞争优势,自动化测试技术的地位与作用慢慢地展现出来。
本课题主要内容是以Selenium自动化测试技术研究与应用为主,通过Jenkins开源Web系统测试为实例,对Jenkins的部分功能进行需求分析、测试计划设计和测试用例设计与执行。使用Selenium能够帮助测试工程师模拟用户在浏览器中操作,从而达到测试的目的,而且,Selenium兼容于多个浏览器平台并且能够使用不同的测试脚本语言进行编写,方便测试工程师掌握与应用。
关键词:自动化测试Selenium开源Web系统测试脚本
Abstract
Inrecentyears,therapiddevelopmentofInternetinformationtechnologyhasbroughtunlimitedopportunitiesandchallengestothesoftwaretechnologyindustry.BecausetheWebsoftwaresystemisplatform-independent,andhasthepropertiesofconcurrency,heterogeneityanddistribution,thetestingoftheWebsoftwaresystemismuchmorecomplicatedthanthetestingofthecommonsoftwareprogram,aWebprojectlifecycleisnotonlytheworkofdevelopment,butalsotheroleoftestinginqualityassurance.InordertoensurethecompetitiveadvantageofWebsystemproducts,thestatusandroleofautomatedtestingtechnologyisgraduallyrevealed.
ThemaincontentofthistopicistheresearchandapplicationofSeleniumautomationtestingtechnology.ThroughJenkinsOpensourceWebsystemtestingasanexample,Jenkinspartofthefunctionalrequirementsanalysis,TestPlanDesignandtestcasedesignandimplementation.UsingSeleniumcanhelptestengineerssimulateuseractionsinbrowsersfortestingpurposes,anditiscompatiblewithmultiplebrowserplatformsandcanbewrittenindifferenttestscriptinglanguages,easyfortestengineertomasterandapply.
Keywords:AutomatedTestingSeleniumOpenSourceWebSystem
TestScripts
目录
TOC\o1-3\h\z\u1.绪论 1
1.1课题研究背景 1
1.2课题研究意义 1
1.3国内外研究现状 2
1.4课题研究的主要内容 3
1.5本章小结 3
2.Selenium自动化测试技术研究 4
2.1软件测试自动化研究 4
2.2自动化测试技术的研究与比较 5
2.3基于Selenium的UI自动化 6
2.4本章小结 7
3.搭建测试环境 9
3.1Java环境配置 9
3.2Maven环境配置 9
3.3Jenkins网站搭建 10
3.4本章小结 11
4.Web自动化设计与分析 13
4.
文档评论(0)